From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.20985.1600258842453045014 for ; Wed, 16 Sep 2020 05:20:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=GKaE8sw6; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: chasel.chiu@intel.com) IronPort-SDR: Zayejp177Gt7R2wFFb6baBRP+yoMeCn4p+/UTr2CTlbbMZFSXTvEQSYulg5HpIntAettNWWQY2 7IbzZ3kFGUQA== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="158732304" X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="158732304" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2020 05:20:42 -0700 IronPort-SDR: Fbj6z2JSmzfC/ORzeNdMvb6WTWyuqtp2Y3fqFVSgx5ygxOa/Pwr70h55k3waBbsIvat1Jbu1rI o6UzH1mnDcMw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="483293355" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga005.jf.intel.com with ESMTP; 16 Sep 2020 05:20:41 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 16 Sep 2020 05:20:41 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 16 Sep 2020 05:20:41 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.48) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 16 Sep 2020 05:20:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L8lArPU3306PmppOuTdrgkurA/mjQ9XrkEE5iFdFRnQCHf/V8c7eq9PTAhB2PtwdbtJ1ZMZsDezJYFK1FYK0aENDwesxPWoIDnoXo7wEb4mMvE0QLCGWnuH1fY5WVbh25C6fLQurQ/a/XMJHnJg/Az3qy5IiWXxe4A4zXXt6y1AILsRUvs2n1kd37q42fmZKG0MQ8gQ8XAkl9Fh/Kk3IGmt/9p9tYhYRMqcs9aR67+aa7qPKySa5o//cW+s45bgcwPds7UN5Jeu4uvfKLTxv+nxlpJyCSATVWD2cQr7vgS1pjctB0AI5Vt8mN1aQ/AaeN6bDto7eCzcmdBFLtvbmmA== 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-SenderADCheck; bh=eWcXa6ubfXZBSYMe7gYHETUMHQ117/SpA6wprm0fVZY=; b=WhpMv4X1Hk56uG9BmWvjwg5drMNehlU8A5uLLNxCq9BXaanMAoHfJaVlP/JfZKq8iP67u51fPnYq9bLb8ExLtRTgY9KwfZx1C+HXedyHEcduU2cuwqRnMdAJeIYEqd79s9EEuezoAG+vwafzpBo+fg3vQ8x6XYWGF+3jJEx/4Q3hObrn/VoPULTaA+mr0EpW8A9cNPKxWRHvLjs6Xpzb2NQ/Y7Tyl+lKE6c8HqOXS+c8jpz2bs+qvMbLozpe5wv2ahp337Wa6TpUnJnUHYxqWPXPoIjrqLcoh0/5U2TSxsfe7zW6MIRxGhurmeUpRKvP2kqlm3KrxUMgO2CYBQSI2g== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eWcXa6ubfXZBSYMe7gYHETUMHQ117/SpA6wprm0fVZY=; b=GKaE8sw6JMuLH+n4mD94vvKseXrPyHY5CTiJnW/C0Q8Db2kV9LzCfljTkoKnoLrXOSYFqD9Q6zVkCq6/aJmzeQlW789s/0qvi2INm0SXJqjwqVK3qPSz3FUoJ0HxfErHUQCh6M9zx/LyrMaaJQ9ZVziD9v6FQCPruSuQim+dwoc= Received: from SN6PR11MB2814.namprd11.prod.outlook.com (2603:10b6:805:55::15) by SN6PR11MB2912.namprd11.prod.outlook.com (2603:10b6:805:cb::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Wed, 16 Sep 2020 12:20:40 +0000 Received: from SN6PR11MB2814.namprd11.prod.outlook.com ([fe80::4540:a6b5:b0bc:9d82]) by SN6PR11MB2814.namprd11.prod.outlook.com ([fe80::4540:a6b5:b0bc:9d82%4]) with mapi id 15.20.3370.019; Wed, 16 Sep 2020 12:20:40 +0000 From: "Chiu, Chasel" To: "devel@edk2.groups.io" , "gaoliming@byosoft.com.cn" CC: "Desimone, Nathaniel L" , "Zeng, Star" Subject: Re: [edk2-devel] [PATCH] IntelFsp2Pkg GenCfgOpt.py: Initialize IncLines as empty list Thread-Topic: [edk2-devel] [PATCH] IntelFsp2Pkg GenCfgOpt.py: Initialize IncLines as empty list Thread-Index: AQHWjBABxEnjzQIeT0WyuieJCKvCAqlrLw3A Date: Wed, 16 Sep 2020 12:20:40 +0000 Message-ID: References: <20200916095814.1717-1-gaoliming@byosoft.com.cn> In-Reply-To: <20200916095814.1717-1-gaoliming@byosoft.com.cn> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [61.231.91.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e13b24f6-5071-4d72-313a-08d85a3aece8 x-ms-traffictypediagnostic: SN6PR11MB2912: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zjgVCSNAaU7uN3YOfgJKDU1x9mrt32eFyBMkyGKbO4unMHJwiVovO8IYIfsD2n+apz/mFKDpRQZF7Xv44/349AvUXHZefl3Yct5Nm4BHj3iKAW0ACG5nnw8plu1iGjvz88cy5Xtmq5sVIBLz7pA+kv+6B/WfcSSMdUEZiorsUfYv/tlflNVuZWwGDa/dp9ZOIqFgREwsAT8bGZjYG17RhJCSq0GCCPvqdGioWYtWaBBiBkiziFhXzVRQE0oUozhFJKN7nR9nAUTmWOzQO6da9qkE4ptXRHHP4ANOIhHOar9oGx6ez8ifZct1PoXj2I0hkROm3LEPF60tKEjJ3usHtVG2lGEtbwdcpmMritQm2VNWl4jJY9+LdtwlFwFjlgAzcQcEtrpvaqLYAEJMP+o1eQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR11MB2814.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(376002)(366004)(39850400004)(136003)(396003)(66946007)(55016002)(19627235002)(54906003)(9686003)(186003)(316002)(107886003)(966005)(110136005)(8936002)(7696005)(71200400001)(6506007)(66446008)(2906002)(4326008)(478600001)(5660300002)(26005)(53546011)(52536014)(33656002)(8676002)(64756008)(66476007)(86362001)(76116006)(66556008)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: ExMaETjk9dcADVJEU6xoErcb/MfG5ALEDPjs4JGCnfmaJQmdEL88gS2UDw0wPP3skbJWzoCybCJdeV2HhFkblFQJPrYxFTPdIP8qA/mOElJMOkd+uIwf0scnsa5C+1KTW5mDQXskj1yM7xVRi7FFEf9+UO1CZWorDmiu4N39LnsSEY/HIgakncFKZLhP+S3xAP1KpJMMrmuacKoDjSfFUbmYbgrip3FIBEx6AlmJQYAUaBsMQkrLQTGnFp4kuhfO1IEjaIrXET3MrIUMSprZmuy+zBsC3DI+MW+sq6GVnD1s6FZtZTbUllPxo3ZRjBZPJ9gOMj7F36fGghRJzfBz1Iimte6VDzYgsz95MWKVp77JVxVhkITIfwzuv/EY/kAubna0TYUwuUZgsuMFQMaRcX8vg4BZZH7wDaER2aQOGabGs3PcgbbV/4xMDFnSX0HSFyHENmu8uV6H5DF9AUibsY7wYBA34GWvyL9CKZr30u6UQ3rQ2MVFx0BDUqUo9xuuRUtPodMjJP81qKfBGo0uI7nUdAgqsa5k7WT+4ENyw1TN+EIHVjpR3Pzjs+35qnWtQHnBxeyl07EETAcxZT7LOY0+Q5Q4PkUhxn2HYlatVncr0Fm5xVJ1g309vNZZWC7i/eAkSlEtvmSfrSBxnIz+Zw== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2814.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e13b24f6-5071-4d72-313a-08d85a3aece8 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2020 12:20:40.0738 (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: k+rncyInF/fh0bSglTD+qaOPheOEOXtMV/ZbtkkierYC8QNXJQATXlNXfnTrqimupwmcZNwLkC9JJs9JXXSQ0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2912 Return-Path: chasel.chiu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Chasel Chiu > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of > gaoliming > Sent: Wednesday, September 16, 2020 5:58 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > ; Zeng, Star > Subject: [edk2-devel] [PATCH] IntelFsp2Pkg GenCfgOpt.py: Initialize IncL= ines > as empty list >=20 > IncLines as empty list for the case when InputHeaderFile is not specifie= d. >=20 > Cc: Chasel Chiu > Cc: Nate DeSimone > Cc: Star Zeng > Signed-off-by: Liming Gao > --- > IntelFsp2Pkg/Tools/GenCfgOpt.py | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/IntelFsp2Pkg/Tools/GenCfgOpt.py > b/IntelFsp2Pkg/Tools/GenCfgOpt.py index e9de128e..bcced590 100644 > --- a/IntelFsp2Pkg/Tools/GenCfgOpt.py > +++ b/IntelFsp2Pkg/Tools/GenCfgOpt.py > @@ -1177,6 +1177,7 @@ EndList > UpdSignatureCheck =3D ['FSPT_UPD_SIGNATURE', > 'FSPM_UPD_SIGNATURE', 'FSPS_UPD_SIGNATURE'] > ExcludedSpecificUpd =3D ['FSPT_ARCH_UPD', 'FSPM_ARCH_UPD', > 'FSPS_ARCH_UPD'] >=20 > + IncLines =3D [] > if InputHeaderFile !=3D '': > if not os.path.exists(InputHeaderFile): > self.Error =3D "Input header file '%s' does not exist"= % > InputHeaderFile > -- > 2.27.0.windows.1 >=20 >=20 >=20 >=20