From: qwang12 Date: Fri, 8 Aug 2008 03:49:09 +0000 (+0000) Subject: 1) Change DEBUG_ERROR TO DEBUG_LOAD as InstallProtocolInterface information is not... X-Git-Tag: edk2-stable201903~20599 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=1439777e96797cbf92e9748bd9b8ed1316099e3d 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 --- 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;