mirror of https://github.com/acidanthera/audk.git
946f48ebe6
According to the UEFI spec, EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL.BuildDevicePath() should return EFI_NOT_FOUND when the input NamespaceId is not valid. However, current code returns EFI_DEVICE_ERROR instead. This commit modifies the check for input NamespaceId to return the correct status. Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> |
||
---|---|---|
.. | ||
ComponentName.c | ||
NvmExpress.c | ||
NvmExpress.h | ||
NvmExpressBlockIo.c | ||
NvmExpressBlockIo.h | ||
NvmExpressDiskInfo.c | ||
NvmExpressDiskInfo.h | ||
NvmExpressDxe.inf | ||
NvmExpressDxe.uni | ||
NvmExpressDxeExtra.uni | ||
NvmExpressHci.c | ||
NvmExpressHci.h | ||
NvmExpressPassthru.c |