StandaloneMmPkg/Core: Output status in MMI handler assertion

Currently, if a MMI handler returns an unexpected failure status code,
ASSERT (FALSE) is used. It is more useful to use ASSERT_EFI_ERROR()
which also outputs the status code value.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
Michael Kubacki 2024-01-30 23:44:21 -05:00 committed by mergify[bot]
parent 927ea1364d
commit a1b98c8f84
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ MmiManage (
//
// Unexpected status code returned.
//
ASSERT (FALSE);
ASSERT_EFI_ERROR (Status);
break;
}
}