//\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
\r
Done:\r
//\r
- // Done. Release the database lock are return\r
+ // Done. Release the database lock.\r
//\r
CoreReleaseProtocolLock ();\r
return Status;\r