]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
ArmPkg: Fix Ecc error 3002 in CpuDxe
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 10 Dec 2020 16:50:22 +0000 (16:50 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 6 Jan 2021 16:22:54 +0000 (16:22 +0000)
commita387f2ee2e466905b19745bbe047c1c0ab399086
tree89cdf3a1167000610a92ad24c9ec6ab49d3fbe62
parent1560fd4225dbc6b0a2eb75fc0b21921259465053
ArmPkg: Fix Ecc error 3002 in CpuDxe

This patch fixes the following Ecc reported error:
Non-Boolean comparisons should use a compare operator
(==, !=, >, < >=, <=)

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c