]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1) Change DEBUG_ERROR TO DEBUG_LOAD as InstallProtocolInterface information is not...
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 8 Aug 2008 03:49:09 +0000 (03:49 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 8 Aug 2008 03:49:09 +0000 (03:49 +0000)
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

index 7f59ce9a9dc48fe820efac5ad8e0ba321a275aa5..99c265996ead8420d8d65431d87053586b8afa22 100644 (file)
@@ -364,13 +364,13 @@ CoreInstallProtocolInterfaceNotify (
   //\r
   // Print debug message\r
   //\r
-  DEBUG((DEBUG_ERROR | DEBUG_INFO, "InstallProtocolInterface: %g %p\n", Protocol, Interface));\r
+  DEBUG((DEBUG_LOAD | DEBUG_INFO, "InstallProtocolInterface: %g %p\n", Protocol, Interface));\r
 \r
   Status = EFI_OUT_OF_RESOURCES;\r
   Prot = NULL;\r
   Handle = NULL;\r
 \r
-  ASSERT (NULL != gDxeCoreBS);\r
+  ASSERT (gDxeCoreBS != NULL);\r
 \r
   if (*UserHandle != NULL_HANDLE) {\r
     Status = CoreHandleProtocol (*UserHandle, Protocol, (VOID **)&ExistingInterface);\r
@@ -1356,7 +1356,7 @@ CoreOpenProtocolInformation (
 \r
 Done:\r
   //\r
-  // Done. Release the database lock are return\r
+  // Done. Release the database lock.\r
   //\r
   CoreReleaseProtocolLock ();\r
   return Status;\r