public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure
@ 2017-02-24  1:56 Star Zeng
  2017-02-24  1:57 ` Tian, Feng
  2017-02-24  1:59 ` Yao, Jiewen
  0 siblings, 2 replies; 3+ messages in thread
From: Star Zeng @ 2017-02-24  1:56 UTC (permalink / raw)
  To: edk2-devel; +Cc: Star Zeng, Feng Tian, Jiewen Yao

Cc: Feng Tian <feng.tian@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure
  2017-02-24  1:56 [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure Star Zeng
@ 2017-02-24  1:57 ` Tian, Feng
  2017-02-24  1:59 ` Yao, Jiewen
  1 sibling, 0 replies; 3+ messages in thread
From: Tian, Feng @ 2017-02-24  1:57 UTC (permalink / raw)
  To: Zeng, Star, edk2-devel@lists.01.org; +Cc: Yao, Jiewen, Tian, Feng

Reviewed-by: Feng Tian <feng.tian@intel.com>

Thanks
Feng

-----Original Message-----
From: Zeng, Star 
Sent: Friday, February 24, 2017 9:56 AM
To: edk2-devel@lists.01.org
Cc: Zeng, Star <star.zeng@intel.com>; Tian, Feng <feng.tian@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>
Subject: [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure

Cc: Feng Tian <feng.tian@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure
  2017-02-24  1:56 [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure Star Zeng
  2017-02-24  1:57 ` Tian, Feng
@ 2017-02-24  1:59 ` Yao, Jiewen
  1 sibling, 0 replies; 3+ messages in thread
From: Yao, Jiewen @ 2017-02-24  1:59 UTC (permalink / raw)
  To: Zeng, Star, edk2-devel@lists.01.org; +Cc: Tian, Feng

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 <star.zeng@intel.com>; Tian, Feng <feng.tian@intel.com>; Yao,
> Jiewen <jiewen.yao@intel.com>
> Subject: [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure
> 
> Cc: Feng Tian <feng.tian@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Star Zeng <star.zeng@intel.com>
> ---
>  MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c
> | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-24  1:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24  1:56 [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure Star Zeng
2017-02-24  1:57 ` Tian, Feng
2017-02-24  1:59 ` Yao, Jiewen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox