From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web12.9778.1582102634913869449 for ; Wed, 19 Feb 2020 00:57:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XyZStWAI; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582102634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HrP6aukuGS2nQwrH/dExUpM4o4dxhBMBVgVt7lMHR3Y=; b=XyZStWAI/2RcLj0rdmEt3B4qzovFWhPqxMOHYC+rBcdxmTy3X7PNdkdtEbufMi/9HKKica G9+3aYkNXi12+ce0pUNMhLAUxQgFplUpnJZTkjS7hO+Wx0WwJ8Je0cWa56WYCNNHhERdWO SpnzFiiUCwdKpumDfq96v6xOMjMKyqU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-402-31Rxw5TuOyai-xffFveRpQ-1; Wed, 19 Feb 2020 03:57:05 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1958F10CE792; Wed, 19 Feb 2020 08:57:03 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-117-228.ams2.redhat.com [10.36.117.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 481D38C061; Wed, 19 Feb 2020 08:57:00 +0000 (UTC) Subject: Re: [edk2-devel] [edk2-core] [PATCH v3 1/1] MdeModulePkg: Make retval in UninstallMultipleProtocol follow Spec To: dandan.bi@intel.com, "Wu, Hao A" , "Wang, Jian J" Cc: devel@edk2.groups.io, xypron.glpk@gmx.de, "Jin, Eric" , Supreeth Venkatesh , Stephano Cetola , "Gao, Liming" , "Zeng, Star" , "Yao, Jiewen" References: <20190912063406.9477-1-xypron.glpk@gmx.de> <3C0D5C461C9E904E8F62152F6274C0BB40D41D76@SHSMSX104.ccr.corp.intel.com> From: "Laszlo Ersek" Message-ID: <37dc6139-c76e-4277-88fa-5a1e0ddd7903@redhat.com> Date: Wed, 19 Feb 2020 09:56:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <3C0D5C461C9E904E8F62152F6274C0BB40D41D76@SHSMSX104.ccr.corp.intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: 31Rxw5TuOyai-xffFveRpQ-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: base64 T24gMDIvMTkvMjAgMDY6NTgsIERhbmRhbiBCaSB3cm90ZToNCj4gVGhpcyBwYXRjaCBzZWVtcyBi ZSByZXZpZXdlZCBidXQgbm90IHN1Ym1pdHRlZC4gSG9wZSBpdCBjYW4gYmUgY292ZXJlZCBpbiBR MSBzdGFibGUgdGFnLg0KDQpTaG91bGQgaGF2ZSBiZWVuIG1lcmdlZCBtb250aHMgYWdvLg0KDQpK aWFuLCBIYW8sIGNhbiB5b3UgcGljayB1cCB0aGlzIHBhdGNoIG5vdyBwbGVhc2U/DQoNClRoYW5r cw0KTGFzemxvDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2ZWxA ZWRrMi5ncm91cHMuaW8gPGRldmVsQGVkazIuZ3JvdXBzLmlvPiBPbiBCZWh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QHBhcmFtICAuLi4g ICAgICAgICAgICAgICAgICAgIEVGSV9HVUlEIGZvbGxvd2VkIGJ5IHByb3RvY29sIGluc3RhbmNl LiBBIE5VTEwtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVybWluYXRlcyB0aGUg IGxpc3QuIFRoZSBwYWlycyBhcmUgdGhlKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IHRlcm1pbmF0ZXMgdGhlIGxpc3QuIFRoZSBwYWlycyBhcmUgdGhlICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIGFyZ3VtZW50cyB0byBVbmluc3RhbGxQcm90b2NvbEludGVyZmFjZSgp LiBBbGwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhlIHByb3RvY29scyBhcmUg YWRkZWQgdG8gSGFuZGxlLiAtICBAcmV0dXJuIFN0YXR1cyBjb2RlLSsgIEByZXR2YWwgRUZJX1NV Q0NFU1MgICAgICAgICAgICBpZiBhbGwgcHJvdG9jb2wgaW50ZXJmYWNlcyB3aGVyZSB1bmluc3Rh bGxlZC4rICBAcmV0dmFsIEVGSV9JTlZBTElEX1BBUkFNRVRFUiAgaWYgYW55IHByb3RvY29sIGlu dGVyZmFjZSBjb3VsZCBub3QgYmUrICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdW5p bnN0YWxsZWQgYW5kIGFuIGF0dGVtcHQgd2FzIG1hZGUgdG8rICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgcmVpbnN0YWxsIHByZXZpb3VzbHkgdW5pbnN0YWxsZWQgcHJvdG9jb2wrICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW50ZXJmYWNlcy4gKiovIEVGSV9TVEFUVVMg RUZJQVBJQEAgLTg2NCw2ICs4NzEsNyBAQCBDb3JlVW5pbnN0YWxsTXVsdGlwbGVQcm90b2NvbElu dGVyZmFjZXMgKA0KPiAgICAgICAgQ29yZUluc3RhbGxQcm90b2NvbElud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