diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-19 11:08:04 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-09-06 15:31:20 +0800 |
commit | 946f48ebe6222ce5a5d3650fc19691ae4e7ad8b2 (patch) | |
tree | d4a81d93cda80face8b74ef5f1d0f08946dc836f /BaseTools/Source/Python/Common/BuildToolError.py | |
parent | 6fe39780140f9f429c97a71ca3bfa4e16e779793 (diff) | |
download | edk2-platforms-946f48ebe6222ce5a5d3650fc19691ae4e7ad8b2.tar.xz |
MdeModulePkg NvmExpressDxe: Refine BuildDevicePath API to follow spec
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>
Diffstat (limited to 'BaseTools/Source/Python/Common/BuildToolError.py')
0 files changed, 0 insertions, 0 deletions