mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/PciBusDxe: rebase to ARRAY_SIZE()
Cc: Feng Tian <feng.tian@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Feng Tian <feng.tian@Intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
32223fd8ce
commit
0781e85f4e
|
@ -868,7 +868,7 @@ PciHostBridgeResourceAllocator (
|
|||
Resources[2] = PMem32Bridge;
|
||||
Resources[3] = Mem64Bridge;
|
||||
Resources[4] = PMem64Bridge;
|
||||
DumpResourceMap (RootBridgeDev, Resources, sizeof (Resources) / sizeof (Resources[0]));
|
||||
DumpResourceMap (RootBridgeDev, Resources, ARRAY_SIZE (Resources));
|
||||
);
|
||||
|
||||
FreePool (AcpiConfig);
|
||||
|
|
Loading…
Reference in New Issue