From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3753C225E4015 for ; Sun, 25 Mar 2018 18:33:44 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2018 18:40:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,362,1517904000"; d="scan'208";a="185934707" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga004.jf.intel.com with ESMTP; 25 Mar 2018 18:40:18 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 25 Mar 2018 18:40:18 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 25 Mar 2018 18:40:17 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.80]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.108]) with mapi id 14.03.0319.002; Mon, 26 Mar 2018 09:40:15 +0800 From: "Zeng, Star" To: Laszlo Ersek , Guo Heyi , "edk2-devel@lists.01.org" CC: "Ni, Ruiyu" , "Dong, Eric" , "Zeng, Star" Thread-Topic: [edk2] MdeModulePkg/SerialDxe: SetAttributes() not follow UEFI spec Thread-Index: AQHTwdL/FGFkUkptIkmLhLb8dGEAqqPc/hzggABfjgCABGBVsA== Date: Mon, 26 Mar 2018 01:40:14 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103BA7325B@shsmsx102.ccr.corp.intel.com> References: <20180322113942.GC53577@SZX1000114654> <20180322114307.GD53577@SZX1000114654> <0C09AFA07DD0434D9E2A0C6AEB0483103BA72963@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: MdeModulePkg/SerialDxe: SetAttributes() not follow UEFI spec X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2018 01:33:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 WWVzLCB0aGVyZSBtYXkgYmUgc2xvd2luZyBkb3duIHBlcmNlaXZlZCB3aXRoIDFzIHRpbWUgb3V0 LiBodHRwczovL2dpdGh1Yi5jb20vdGlhbm9jb3JlL2VkazIvY29tbWl0L2E3ZmQ4NDUyOTY0YzFh NmZmZWVlMWZlMDc1MzdjYjkwMGMwY2NiMDcNCg0KQnV0LCBteSB1bmRlcnN0YW5kaW5nIHRvIEhl eWkncyBxdWVzdGlvbiBpcyB0aGF0IGNhbGxlciBzaG91bGQgYmUgYXdhcmUgZGVmYXVsdCB0aW1l IG91dCB2YWx1ZSAoMTAwMDAwMCkgd2lsbCBiZSB1c2VkIGlmIHRoZSAwIHRpbWUgb3V0IHZhbHVl IGlzIGlucHV0LiBUaGF0IHNob3VsZCBmb2xsb3cgVUVGSSBzcGVjIGFuZCB0aGUgaW1wbGVtZW50 YXRpb24gaW4gTWRlTW9kdWxlUGtnL0J1cy9QY2kvUGNpU2lvU2VyaWFsRHhlIGFuZCBJbnRlbEZy YW1ld29ya01vZHVsZVBrZy9CdXMvS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