Message ID | 20161026190504.9888-45-lersek@redhat.com |
---|---|
State | Accepted |
Commit | 800355c4b3336b8af5c0c3c101be8a3892852029 |
Headers | show |
diff --git a/Vlv2TbltDevicePkg/PlatformInitPei/FlashMap.c b/Vlv2TbltDevicePkg/PlatformInitPei/FlashMap.c index 282faa85ffb6..54ad42bb27a0 100644 --- a/Vlv2TbltDevicePkg/PlatformInitPei/FlashMap.c +++ b/Vlv2TbltDevicePkg/PlatformInitPei/FlashMap.c @@ -72,7 +72,7 @@ static EFI_FLASH_AREA_DATA mFlashAreaData[] = { }; -#define NUM_FLASH_AREA_DATA (sizeof (mFlashAreaData) / sizeof (mFlashAreaData[0])) +#define NUM_FLASH_AREA_DATA (ARRAY_SIZE (mFlashAreaData)) /** Build GUID HOBs for platform specific flash map.
M: David Wei <david.wei@intel.com> M: Tim He <tim.he@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> --- Vlv2TbltDevicePkg/PlatformInitPei/FlashMap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel