From 1439777e96797cbf92e9748bd9b8ed1316099e3d Mon Sep 17 00:00:00 2001 From: qwang12 Date: Fri, 8 Aug 2008 03:49:09 +0000 Subject: [PATCH] 1) Change DEBUG_ERROR TO DEBUG_LOAD as InstallProtocolInterface information is not an error. 2) Revert binary comparison for consistency. 3) Minor updates for comments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5621 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/Hand/Handle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/Hand/Handle.c b/MdeModulePkg/Core/Dxe/Hand/Handle.c index 7f59ce9a9d..99c265996e 100644 --- a/MdeModulePkg/Core/Dxe/Hand/Handle.c +++ b/MdeModulePkg/Core/Dxe/Hand/Handle.c @@ -364,13 +364,13 @@ CoreInstallProtocolInterfaceNotify ( // // Print debug message // - DEBUG((DEBUG_ERROR | DEBUG_INFO, "InstallProtocolInterface: %g %p\n", Protocol, Interface)); + DEBUG((DEBUG_LOAD | DEBUG_INFO, "InstallProtocolInterface: %g %p\n", Protocol, Interface)); Status = EFI_OUT_OF_RESOURCES; Prot = NULL; Handle = NULL; - ASSERT (NULL != gDxeCoreBS); + ASSERT (gDxeCoreBS != NULL); if (*UserHandle != NULL_HANDLE) { Status = CoreHandleProtocol (*UserHandle, Protocol, (VOID **)&ExistingInterface); @@ -1356,7 +1356,7 @@ CoreOpenProtocolInformation ( Done: // - // Done. Release the database lock are return + // Done. Release the database lock. // CoreReleaseProtocolLock (); return Status;