]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/NvmExpressDxe: Fix wrong logic in GetControllerName()
authorAnbazhagan, Baraneedharan <anbazhagan@hp.com>
Tue, 1 Dec 2015 00:40:37 +0000 (00:40 +0000)
committererictian <erictian@Edk2>
Tue, 1 Dec 2015 00:40:37 +0000 (00:40 +0000)
commit9913dce8aeb8c154ccea23be0835b2c50a8613b4
tree2c64b0cfc05cef01251ed9f20f46e9226dcbb6f7
parent5133d1f1d297db5b5d04641da98489aba118c93b
MdeModulePkg/NvmExpressDxe: Fix wrong logic in GetControllerName()

NvmExpressComponentNameGetControllerName returns EFI_UNSUPPORTED if
child handle is passed. gEfiNvmExpressPassThruProtocolGuid needs to
be passed to EfiTestChildHandle instead of gEfiPciIoProtocolGuid.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Anbazhagan, Baraneedharan" <anbazhagan@hp.com>
Reviewed-by: "Tian, Feng" <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19071 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c