Hi,
With recent changes to Nvme module, NvmExpressComponentNameGetControllerName
returns EFI_UNSUPPORTED if child handle is passed. Seems like
gEfiNvmExpressPassThruProtocolGuid needs to be passed to EfiTestChildHandle
instead of gEfiPciIoProtocolGuid.
-Baranee
MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c
b/MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c
index 60849ae..855a1b1 100644
--- a/MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c
+++ b/MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c
@@ -199,7 +199,7 @@ NvmExpressComponentNameGetControllerName (
Status = EfiTestChildHandle (
ControllerHandle,
ChildHandle,
- &gEfiPciIoProtocolGuid
+ &gEfiNvmExpressPassThruProtocolGuid
);
if (EFI_ERROR (Status)) {
return Status;
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel