Return the error status from gBS->OpenProtocol() since there are cases when the input...
authorqhuang8 <qhuang8@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 19 Feb 2008 04:16:16 +0000 (04:16 +0000)
committerqhuang8 <qhuang8@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 19 Feb 2008 04:16:16 +0000 (04:16 +0000)
commit780d42e5ba59e21fecb07e966c9fa4bdde564c2e
treee82e0fd9d01fa72a39dacd4f3ec84a0e22098b0d
parentff0905dcf3f34646953f15ae33209fa76d3f0605
Return the error status from gBS->OpenProtocol() since there are cases when the input ControllerHandle or ChildHandle is not a valid EFI_HANDLE. We should return EFI_INVALID_PARAMETER instead of EFI_UNSUPPORTED for Driver Diagnostic (2) protocol implementation.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4702 de2fecce-e211-0410-80a6-f3fac2684e05
edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/DriverDiagnostics.c