Skip to content
Commit 9ea86f18 authored by Zhang, Shenglei's avatar Zhang, Shenglei Committed by Nate DeSimone
Browse files

MinPlatformPkg/AcpiTables: Add error handling to SortCpuLocalApicInTable



Change ASSERT_EFI_ERROR to return value when the "if" statement is true.
As a result, when SortCpuLocalApicInTable is called, error handling is
needed. So add "if" statement to judge the returned Status from
SortCpuLocalApicInTable () in function InstallMadtFromScratch().

Cc: Michael Kubacki <michael.a.kubacki@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: default avatarShenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: default avatarMichael Kubacki <michael.a.kubacki@intel.com>
Reviewed-by: default avatarChasel Chiu <chasel.chiu@intel.com>
Reviewed-by: default avatarNate DeSimone <nathaniel.l.desimone@intel.com>
parent 5dd12a15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment