Looks good.
Reviewed-by: Maurice Ma <maurice...@intel.com>

Thanks,
-Maurice

-----Original Message-----
From: Dong, Guo 
Sent: Tuesday, May 26, 2015 8:19 AM
To: edk2-devel@lists.sourceforge.net
Cc: Ma, Maurice
Subject: [Patch] CorebootModulePkg: Fix GCC build failure.

This patch fixed a GCC build failure issue.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Dong <guo.d...@intel.com>
---
 CorebootModulePkg/Include/Library/CbParseLib.h    | 2 +-
 CorebootModulePkg/Library/CbParseLib/CbParseLib.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CorebootModulePkg/Include/Library/CbParseLib.h 
b/CorebootModulePkg/Include/Library/CbParseLib.h
index 034574f..36727d3 100644
--- a/CorebootModulePkg/Include/Library/CbParseLib.h
+++ b/CorebootModulePkg/Include/Library/CbParseLib.h
@@ -61,11 +61,11 @@ CbParseCbMemTable (
   @retval RETURN_NOT_FOUND   Failed to find the memory table.
 
 **/
 RETURN_STATUS
 CbParseAcpiTable (
-  IN VOID*      pMemTable,
+  IN VOID**     pMemTable,
   IN UINT32*    pMemTableSize
   );
   
 /**
   Acquire the smbios table from coreboot diff --git 
a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c 
b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
index df02e58..66374b5 100644
--- a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
+++ b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
@@ -420,11 +420,11 @@ CbParseFadtInfo (
   RETURN_STATUS                                 Status;
 
   Rsdp = NULL;
   Status = RETURN_SUCCESS;
 
-  Status = CbParseAcpiTable (&Rsdp, NULL);
+  Status = CbParseAcpiTable ((VOID **)&Rsdp, NULL);
   if (RETURN_ERROR(Status)) {
     return Status;
   }
 
   if (Rsdp == NULL) {
--
1.9.5.msysgit.0


------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to