From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 77B9082137 for ; Thu, 23 Feb 2017 20:06:06 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Feb 2017 20:06:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,200,1484035200"; d="scan'208";a="68496919" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 23 Feb 2017 20:06:06 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 23 Feb 2017 20:06:05 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 23 Feb 2017 20:06:05 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.59]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Fri, 24 Feb 2017 12:06:03 +0800 From: "Ni, Ruiyu" To: "Zeng, Star" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Gao, Liming" , "Carsey, Jaben" Thread-Topic: [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403 Thread-Index: AQHSjkMumfOoAzK+PU+kody/qQXkHKF3ihGQ Date: Fri, 24 Feb 2017 04:06:01 +0000 Deferred-Delivery: Fri, 24 Feb 2017 04:06:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B8AD51B@SHSMSX104.ccr.corp.intel.com> References: <1487902212-29356-1-git-send-email-star.zeng@intel.com> <1487902212-29356-4-git-send-email-star.zeng@intel.com> In-Reply-To: <1487902212-29356-4-git-send-email-star.zeng@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDcxNWRlMzMtYmQwZS00ZWJiLWE4MzYtZTQzMjA2YTk4N2I2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX1BVQkxJQyJ9XX1dfSwiU3ViamVjdExhYmVscyI6W10sIlRNQ1ZlcnNpb24iOiIxNS45LjYuNiIsIlRydXN0ZWRMYWJlbEhhc2giOiJ3ZHlxNUhEZkl0aTZCT2dIakxIalVlRTVobFlxZk9WYTV3WGVMQkxhajZrPSJ9 x-ctpclassification: CTP_PUBLIC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403 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 04:06:06 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Regards, Ray >-----Original Message----- >From: Zeng, Star >Sent: Friday, February 24, 2017 10:10 AM >To: edk2-devel@lists.01.org >Cc: Zeng, Star ; Kinney, Michael D ; Gao, Liming >; Carsey, Jaben ; Ni, Ruiyu = >Subject: [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by= ef22403 > >Cc: Michael Kinney >Cc: Liming Gao >Cc: Jaben Carsey >Cc: Ruiyu Ni >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Star Zeng >--- > ShellPkg/Library/UefiDpLib/Dp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/ShellPkg/Library/UefiDpLib/Dp.c b/ShellPkg/Library/UefiDpLib/= Dp.c >index 444c136ab188..33f69a0c145a 100644 >--- a/ShellPkg/Library/UefiDpLib/Dp.c >+++ b/ShellPkg/Library/UefiDpLib/Dp.c >@@ -271,7 +271,7 @@ ShellCommandRunDp ( > // StartCount =3D Value loaded into the counter when it starts count= ing > // EndCount =3D Value counter counts to before it needs to be rese= t > // >- Status =3D EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &= PerformanceProperty); >+ Status =3D EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (= VOID **) &PerformanceProperty); > if (EFI_ERROR (Status)) { > ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PERF_PROPERTY_NOT_FO= UND), gDpHiiHandle); > goto Done; >-- >2.7.0.windows.1