From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1D20A1A1E57 for ; Thu, 27 Oct 2016 00:10:52 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP; 27 Oct 2016 00:10:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,404,1473145200"; d="scan'208";a="1059886102" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 27 Oct 2016 00:10:51 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 27 Oct 2016 00:10:50 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 27 Oct 2016 00:10:50 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.104]) with mapi id 14.03.0248.002; Thu, 27 Oct 2016 15:10:48 +0800 From: "Guo, Mang" To: Laszlo Ersek , edk2-devel-01 Thread-Topic: [edk2] [PATCH 44/47] Vlv2TbltDevicePkg/PlatformInitPei: rebase to ARRAY_SIZE() Thread-Index: AQHSL7xI9zk4/nCff0KVDMYVGEjqfKC74uOg Date: Thu, 27 Oct 2016 07:10:48 +0000 Message-ID: <22D2C85ED001C54AA20BFE3B0E4751D14FAD7C06@SHSMSX103.ccr.corp.intel.com> References: <20161026190504.9888-1-lersek@redhat.com> <20161026190504.9888-45-lersek@redhat.com> In-Reply-To: <20161026190504.9888-45-lersek@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 44/47] Vlv2TbltDevicePkg/PlatformInitPei: rebase to ARRAY_SIZE() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 07:10:52 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Guo, Mang . -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Lasz= lo Ersek Sent: Thursday, October 27, 2016 3:05 AM To: edk2-devel-01 Subject: [edk2] [PATCH 44/47] Vlv2TbltDevicePkg/PlatformInitPei: rebase to = ARRAY_SIZE() M: David Wei M: Tim He Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- Vlv2TbltDevicePkg/PlatformInitPei/FlashMap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vlv2TbltDevicePkg/PlatformInitPei/FlashMap.c b/Vlv2TbltDeviceP= kg/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[] =3D= { =20 }; =20 -#define NUM_FLASH_AREA_DATA (sizeof (mFlashAreaData) / sizeof (mFlashAreaD= ata[0])) +#define NUM_FLASH_AREA_DATA (ARRAY_SIZE (mFlashAreaData)) =20 /** Build GUID HOBs for platform specific flash map. --=20 2.9.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel