]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg RamDiskDxe: Uninstall DEVICE_PATH_PROTOCOL with correct param
authorHao Wu <hao.a.wu@intel.com>
Tue, 8 Mar 2016 01:35:14 +0000 (09:35 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 23 Mar 2016 05:38:10 +0000 (13:38 +0800)
commit28620e603d6179d7fdb95175279468e652c3be71
tree9db946de96c23007b30307707ca304119cb8a29f
parent21a976e4c006cca56bf84d0106eb8aac49b3c5a2
MdeModulePkg RamDiskDxe: Uninstall DEVICE_PATH_PROTOCOL with correct param

Previously, the code uninstalls the DEVICE_PATH_PROTOCOL with the device
path given by caller of the 'RamDiskUnregister' function. The given device
path might be different from the one used to install the
DEVICE_PATH_PROTOCOL.

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>
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskProtocol.c