mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 23:54:02 +02:00
PcAtChipsetPkg/PciHostBridgeDxe: Fix enum type mismatch
The previous code was comparing enums with a different type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11281 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1fade6cf65
commit
af388a9ae5
@ -1180,7 +1180,7 @@ PreprocessController (
|
|||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Phase < EfiPciBeforeChildBusEnumeration || Phase > EfiMaxPciHostBridgeEnumerationPhase) {
|
if (Phase < EfiPciBeforeChildBusEnumeration || Phase > EfiPciBeforeResourceCollection) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user