]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c
ArmPkg: Fix Ecc error 3002 in ArmMmuLib
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 10 Dec 2020 10:17:24 +0000 (10:17 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 6 Jan 2021 16:22:54 +0000 (16:22 +0000)
commita9e5186075025e7d3b0305669d5a96f96c9c0c19
treeb117f9bca0b737e4d295b6882131fcd100c2fe81
parentd61b2e28e63885a8ff6baf56aa37d5306f69d7fa
ArmPkg: Fix Ecc error 3002 in ArmMmuLib

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/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c
ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c