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 <[email protected]> --- 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 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

