]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/PlatformBootManagerLib: fix bug in ESRT invocation
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 6 Oct 2017 21:27:24 +0000 (22:27 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 6 Oct 2017 21:31:10 +0000 (22:31 +0100)
commitaed68ed6bec5432d531e68e825400907c4968cc3
tree5bafa718c8666edac092101c09b9a62ae0eb9291
parentbbf79aa264b638fd4717cfb1b8fd5a7997861fe7
ArmPkg/PlatformBootManagerLib: fix bug in ESRT invocation

The ESRT hook call that I just added invokes the protocol before
retrieving a pointer to it, which interestingly enough did not
result in any crashes, nor did it get picked up by GCC. Clang did
notice, though, so let's fix it right away.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c