]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/EhciPei: Initialize the variable Map
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 9 Oct 2019 06:28:50 +0000 (14:28 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 4 Nov 2019 00:56:12 +0000 (08:56 +0800)
commit7a2505bb0f64a266002737ea8446f14cc4095a22
treebcf7a7a3a95ab99e2429ff17920b45166cfca680
parentd3eac77eebe995553e5d0ab5fbab54e5d5d9c95f
MdeModulePkg/EhciPei: Initialize the variable Map

Map is used but not Initialized.
Map is called by IoMmuMap, in which Mapping(Map) is called by IoMmu->Map.
We can not assume Map is given an initial value at any step.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/EhciPei/EhciUrb.c