]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: Fix Ecc error 3002 in SemihostFs
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 10 Dec 2020 10:38:26 +0000 (10:38 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 6 Jan 2021 16:22:54 +0000 (16:22 +0000)
commitf66c2b32cc1b0992def1923dd9ad9c3e4678e102
treec8f6a3f6c97b2ebfee2c0a1f0ba3dcb5b5d04a61
parenta387f2ee2e466905b19745bbe047c1c0ab399086
ArmPkg: Fix Ecc error 3002 in SemihostFs

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/Filesystem/SemihostFs/Arm/SemihostFs.c