mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
MdeModulePkg AcpiTableDxe: Non-Boolean comparisons should use a compare operator.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Shumin Qiu <shumin.qiu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17675 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
13181dde42
commit
de4db4da31
@ -169,7 +169,7 @@ PublishTables (
|
||||
AcpiTableInstance->TablesInstalled1 = TRUE;
|
||||
}
|
||||
|
||||
if ((Version & ACPI_TABLE_VERSION_GTE_2_0) &&
|
||||
if (((Version & ACPI_TABLE_VERSION_GTE_2_0) != 0) &&
|
||||
!AcpiTableInstance->TablesInstalled3) {
|
||||
Status = gBS->InstallConfigurationTable (&gEfiAcpiTableGuid, AcpiTableInstance->Rsdp3);
|
||||
if (EFI_ERROR (Status)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user