mirror_edk2/MdeModulePkg/Bus
Hao Wu 284dc9bfe4 MdeModulePkg NvmExpressDxe: Refine GetNameSpace API to follow spec
According to the UEFI spec,
EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL.GetNamespace() should return
EFI_NOT_FOUND when the input DevicePath is a device path node type that
the NVM Express Pass Thru driver supports, but there is not a valid
translation from DevicePath to a namespace ID. Current code will return
EFI_SUCCESS. This commit adds additional check in the GetNameSpace API to
make sure correct status is returned.

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>
2016-09-06 15:31:23 +08:00
..
Ata MdeModulePkg AtaBusDxe: Fix ATA commands cannot be sent to some devices 2016-07-12 20:27:25 +08:00
I2c/I2cDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Isa MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Pci MdeModulePkg NvmExpressDxe: Refine GetNameSpace API to follow spec 2016-09-06 15:31:23 +08:00
Scsi MdeModulePkg ScsiDiskDxe: Add Erase Block Protocol support for UFS devices 2016-05-20 13:42:51 +08:00
Sd MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Ufs MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Usb MdeModulePkg/UsbMass: Not retry if usb bot transfer execution fail 2016-08-03 09:52:19 +08:00