Fix the invalid return code for OemHookStatusCodeLibNull library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3737 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c b/IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
index deaccfa..76a1bd7 100644
--- a/IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
+++ b/IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
@@ -57,7 +57,7 @@
@param Data This optional parameter may be used to pass additional data
- @return The function always return EFI_UNSUPPORTED.
+ @return The function always return EFI_SUCCESS.
**/
EFI_STATUS
@@ -70,6 +70,6 @@
IN EFI_STATUS_CODE_DATA *Data OPTIONAL
)
{
- return EFI_UNSUPPORTED;
+ return EFI_SUCCESS;
}
diff --git a/MdePkg/Library/UefiLib/UefiNotTiano.c b/MdePkg/Library/UefiLib/UefiNotTiano.c
index f51a16c..19a7a19 100644
--- a/MdePkg/Library/UefiLib/UefiNotTiano.c
+++ b/MdePkg/Library/UefiLib/UefiNotTiano.c
@@ -1,7 +1,7 @@
/** @file
Library functions that abstract areas of conflict between Tiano an UEFI 2.0.
- Help Port Framework/Tinao code that has conflicts with UEFI 2.0 by hiding the
+ Help Port Framework/Tiano code that has conflicts with UEFI 2.0 by hiding the
oldconflicts with library functions and supporting implementations of the old
(EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way. This module is a DXE driver as
it contains DXE enum extensions for EFI event services.