From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 17A4F8214C for ; Thu, 23 Feb 2017 17:59:51 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Feb 2017 17:59:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,199,1484035200"; d="scan'208";a="229099838" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 23 Feb 2017 17:59:50 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 23 Feb 2017 17:59:50 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 23 Feb 2017 17:59:50 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Fri, 24 Feb 2017 09:59:48 +0800 From: "Yao, Jiewen" To: "Zeng, Star" , "edk2-devel@lists.01.org" CC: "Tian, Feng" Thread-Topic: [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure Thread-Index: AQHSjkEzd8RTXoOJTkGmBTXV7klXNqF3ZsMw Date: Fri, 24 Feb 2017 01:59:47 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8F4BCB@shsmsx102.ccr.corp.intel.com> References: <1487901366-27604-1-git-send-email-star.zeng@intel.com> In-Reply-To: <1487901366-27604-1-git-send-email-star.zeng@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure 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: Fri, 24 Feb 2017 01:59:51 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thank you! Reviewed-by: jiewen.yao@intel.com > -----Original Message----- > From: Zeng, Star > Sent: Friday, February 24, 2017 9:56 AM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Tian, Feng ; Y= ao, > Jiewen > Subject: [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build fail= ure >=20 > Cc: Feng Tian > Cc: Jiewen Yao > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Star Zeng > --- > MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c > | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git > a/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib. > c > b/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib. > c > index 0191cdebbf12..2edc71be3efb 100644 > --- > a/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib. > c > +++ > b/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib. > c > @@ -99,7 +99,7 @@ SmmSmiHandlerProfileLibConstructor ( > gSmst->SmmLocateProtocol ( > &gSmiHandlerProfileGuid, > NULL, > - &mSmiHandlerProfile > + (VOID **) &mSmiHandlerProfile > ); > return EFI_SUCCESS; > } > -- > 2.7.0.windows.1