]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: Fix Ecc error 3002 in StandaloneMmMmuLib
authorPierre Gondois <Pierre.Gondois@arm.com>
Tue, 20 Apr 2021 13:04:04 +0000 (14:04 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 28 Apr 2021 12:03:51 +0000 (12:03 +0000)
commitfd9cc2052e230742279edf5fa0a56159a19ef23c
tree6d44d3823534af664b9b52e99e1db03b3e6482fe
parentcc15a619a6fe527b6a00cbea3a0359a9c9c8602b
ArmPkg: Fix Ecc error 3002 in StandaloneMmMmuLib

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

Cc: Bret Barkelew <bret.barkelew@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c