From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 B919321D492EF for ; Thu, 7 Sep 2017 19:36:59 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Sep 2017 19:39:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,360,1500966000"; d="scan'208";a="133048746" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.14]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2017 19:39:49 -0700 From: Liming Gao To: edk2-devel@lists.01.org Date: Fri, 8 Sep 2017 10:39:44 +0800 Message-Id: <1504838384-9540-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch] MdeModulePkg: Update PiDxeS3BootScriptLib Internal function name X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 02:37:01 -0000 To avoid the function name conflict, update the internal function name to be the specific one. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao --- MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c b/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c index b865d44..8761d69 100644 --- a/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c +++ b/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c @@ -57,7 +57,7 @@ **/ EFI_STATUS -SmbusExecute ( +InternalSmbusExecute ( IN UINTN SmbusAddress, IN EFI_SMBUS_OPERATION Operation, IN OUT UINTN *Length, @@ -1053,7 +1053,7 @@ BootScriptExecuteSmbusExecute ( SmBusAddress = (UINTN)SmbusExecuteEntry.SmBusAddress; DataSize = (UINTN) SmbusExecuteEntry.DataSize; - return SmbusExecute ( + return InternalSmbusExecute ( SmBusAddress, (EFI_SMBUS_OPERATION) SmbusExecuteEntry.Operation, &DataSize, -- 2.8.0.windows.1