From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=216.228.121.64; helo=hqemgate15.nvidia.com; envelope-from=ashishsingha@nvidia.com; receiver=edk2-devel@lists.01.org Received: from hqemgate15.nvidia.com (hqemgate15.nvidia.com [216.228.121.64]) (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 2F41E210FBEE9 for ; Fri, 4 Jan 2019 14:16:04 -0800 (PST) Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 04 Jan 2019 14:15:49 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 04 Jan 2019 14:16:03 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 04 Jan 2019 14:16:03 -0800 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 4 Jan 2019 22:16:03 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 4 Jan 2019 22:16:03 +0000 Received: from ashishsingha-lnx.nvidia.com (Not Verified[10.28.48.147]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7, 5, 8, 10121) id ; Fri, 04 Jan 2019 14:16:03 -0800 From: Ashish Singhal To: CC: Ashish Singhal Date: Fri, 4 Jan 2019 15:16:00 -0700 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: X-NVConfidentiality: public MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1546640149; bh=GzRpJ1HbwA+8HBq5NnfjaCl04e/wE62iMk9/mHjhPL8=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=Ek/YVCJUbCFbl+mWFOpjoXTxuJDzK73jGLxEr5ty0bRVmEdDHIZQ9IlJESOJSUFqO Q0/tYyyyoNMmW3fAsMVmtr261OiOa1NqFXJ95+7rqvXoXmqUTP1ItE1EUrt3TBRBdz HutRr9AUMZG8HS2OBuc2be+2m5aFGjbPWRdvCdDpeJaVym7aT2GxqJhDhPDNlWZkR5 bC47kWnAwSs7s33ztAAiBN9NLApTbMv2A8nozup3b01wejS1S3U9NRfNvj3l6oSm3T P/WSYOilJb5sC0q/vLdzQ8uhP8dxKyZ3PIsgQiluiAtCz9ncaY63xN53Uf80/trfqW QwiEGlmCAhIng== Subject: [PATCH 4/4] NetworkPkg/IScsiDxe: Update UEFILib Usage X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 22:16:04 -0000 Content-Type: text/plain Update interfaces as exposed by UEFILib for protocol installation and uninstallation abstraction. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ashish Singhal --- NetworkPkg/IScsiDxe/IScsiDriver.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NetworkPkg/IScsiDxe/IScsiDriver.c b/NetworkPkg/IScsiDxe/IScsiDriver.c index 8747de7..fa0ea00 100644 --- a/NetworkPkg/IScsiDxe/IScsiDriver.c +++ b/NetworkPkg/IScsiDxe/IScsiDriver.c @@ -1863,14 +1863,20 @@ Error3: Error2: EfiLibUninstallDriverBindingComponentName2 ( + ImageHandle, + SystemTable, &gIScsiIp6DriverBinding, + NULL, &gIScsiComponentName, &gIScsiComponentName2 ); Error1: EfiLibUninstallDriverBindingComponentName2 ( + ImageHandle, + SystemTable, &gIScsiIp4DriverBinding, + NULL, &gIScsiComponentName, &gIScsiComponentName2 ); -- 2.7.4