Fix K8 check error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7849 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -2051,7 +2051,7 @@ FvbNotificationEvent (
|
||||
//
|
||||
// Get the FVB to access variable store
|
||||
//
|
||||
for (Index = 0; Index < HandleCount; Index += 1, Status = EFI_NOT_FOUND) {
|
||||
for (Index = 0; Index < HandleCount; Index += 1, Status = EFI_NOT_FOUND, Fvb = NULL) {
|
||||
Status = gBS->HandleProtocol (
|
||||
HandleBuffer[Index],
|
||||
&gEfiFirmwareVolumeBlockProtocolGuid,
|
||||
@@ -2086,7 +2086,7 @@ FvbNotificationEvent (
|
||||
}
|
||||
|
||||
FreePool (HandleBuffer);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
if (!EFI_ERROR (Status) && Fvb != NULL) {
|
||||
Status = VariableCommonInitialize (Fvb);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
|
Reference in New Issue
Block a user