Update the code to following EDK coding style document.
1) Pointer value should compare with NULL. 2) Integer should compare with 0. 3) BOOLEAN should not compare with TRUE or FALSE. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5413 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -38,7 +38,7 @@ InitAllMenu (
|
||||
);
|
||||
|
||||
/**
|
||||
EDES_TODO: Add function description
|
||||
EDES_TODO: Add function description.
|
||||
|
||||
@param VOID EDES_TODO: Add parameter description
|
||||
|
||||
@@ -723,7 +723,7 @@ Error:
|
||||
}
|
||||
|
||||
/**
|
||||
EDES_TODO: Add function description
|
||||
EDES_TODO: Add function description.
|
||||
|
||||
@param Private EDES_TODO: Add parameter description
|
||||
@param CurrentFakeNVMap EDES_TODO: Add parameter description
|
||||
@@ -812,7 +812,7 @@ InitializeBM (
|
||||
// Create LoadOption in BmmCallbackInfo for Driver Callback
|
||||
//
|
||||
Ptr = EfiAllocateZeroPool (sizeof (BM_LOAD_CONTEXT) + sizeof (BM_FILE_CONTEXT) + sizeof (BM_HANDLE_CONTEXT) + sizeof (BM_MENU_ENTRY));
|
||||
if (!Ptr) {
|
||||
if (Ptr == NULL) {
|
||||
SafeFreePool (BmmCallbackInfo);
|
||||
return EFI_OUT_OF_RESOURCES;
|
||||
}
|
||||
@@ -1031,7 +1031,7 @@ InitializeBM (
|
||||
}
|
||||
|
||||
/**
|
||||
EDES_TODO: Add function description
|
||||
EDES_TODO: Add function description.
|
||||
|
||||
@param CallbackData EDES_TODO: Add parameter description
|
||||
|
||||
@@ -1060,7 +1060,7 @@ InitAllMenu (
|
||||
}
|
||||
|
||||
/**
|
||||
EDES_TODO: Add function description
|
||||
EDES_TODO: Add function description.
|
||||
|
||||
@param VOID EDES_TODO: Add parameter description
|
||||
|
||||
|
Reference in New Issue
Block a user