Fix code potential errors.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Tian, Feng <feng.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13852 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -148,7 +148,7 @@ CoreDumpGcdMemorySpaceMap (
|
||||
UINTN Index;
|
||||
|
||||
Status = CoreGetMemorySpaceMap (&NumberOfDescriptors, &MemorySpaceMap);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
ASSERT (Status == EFI_SUCCESS && MemorySpaceMap != NULL);
|
||||
|
||||
if (InitialMap) {
|
||||
DEBUG ((DEBUG_GCD, "GCD:Initial GCD Memory Space Map\n"));
|
||||
@@ -190,7 +190,7 @@ CoreDumpGcdIoSpaceMap (
|
||||
UINTN Index;
|
||||
|
||||
Status = CoreGetIoSpaceMap (&NumberOfDescriptors, &IoSpaceMap);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
ASSERT (Status == EFI_SUCCESS && IoSpaceMap != NULL);
|
||||
|
||||
if (InitialMap) {
|
||||
DEBUG ((DEBUG_GCD, "GCD:Initial GCD I/O Space Map\n"));
|
||||
|
Reference in New Issue
Block a user