Skip to content

Commit

Permalink
fixup! ArmPkg/CpuDxe: Fix error handling in driver initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ardbiesheuvel committed Jan 29, 2025
1 parent bd5f1ce commit ea7b1c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ArmPkg/Drivers/CpuDxe/CpuDxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ CpuDxeInitialize (
RemapUnusedMemoryNx ();
}

CpuHandle = NULL;
Status = gBS->InstallMultipleProtocolInterfaces (
&CpuHandle,
&gEfiCpuArchProtocolGuid,
Expand Down

0 comments on commit ea7b1c3

Please sign in to comment.