From nobody Tue Feb 10 02:43:29 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68264+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68264+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1607019607; cv=none; d=zohomail.com; s=zohoarc; b=KGKPy9naujmTuMZ5KqdnkKOkJ0gaHac7bJAbqg23TOCS7aVWQCVAXN+0lPhyPtaRvlevARvxNvZ1kV9iDBbAmSudJDceipVjnAnfk1OuzQYrKlS9MpPbrzvTro6RLwPIL1YRWllIlsHCuhaSpzlqxtJoUfUcUzgBmDxYMts2E7Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607019607; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=edzUE/+Q5ILiGiyVdR0UpyWhzjHwvLbYsRTZ7BFBpn4=; b=NEwIYm5e//hJTOYey9VS4mW3v6c8pk2+6uEzXJc4J/N1n3K36ZDGRkVlt9YPdOCqpANqPjn2l8Ny4d05ufDhSSuytUecmqzu2z4gQBo6Mj0AO9D9QTkkndclq7sDyGYVuQ507uSTXqS8DNW6JXeh+wkLI/Dv4ungjZllg72v1Fw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68264+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1607019607382353.06666455299865; Thu, 3 Dec 2020 10:20:07 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ERtjYY1788612x1UWrKoRKjx; Thu, 03 Dec 2020 10:20:06 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.859.1607019601357518777 for ; Thu, 03 Dec 2020 10:20:01 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0F8BA11FB; Thu, 3 Dec 2020 10:20:01 -0800 (PST) X-Received: from e120189.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9D8173F575; Thu, 3 Dec 2020 10:19:59 -0800 (PST) From: "PierreGondois" To: leif@nuviainc.com, ard.biesheuvel@arm.com, thomas.abraham@arm.com, devel@edk2.groups.io Cc: sami.mujawar@arm.com Subject: [edk2-devel] [PATCH v1 01/16] ArmPlatformPkg: Fix Ecc error 3001 in NorFlashDxe Date: Thu, 3 Dec 2020 18:19:30 +0000 Message-Id: <20201203181945.10880-2-Pierre.Gondois@arm.com> In-Reply-To: <20201203181945.10880-1-Pierre.Gondois@arm.com> References: <20201203181945.10880-1-Pierre.Gondois@arm.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: 2YM6yHaFgrRkGM08NDfBfR0mx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607019606; bh=nr42WPikJVdnQ3f/Vw+lIUw3SN+UQlJYLC2a8Sbe8gg=; h=Cc:Date:From:Reply-To:Subject:To; b=siyrq83k9Po951oS00r1VBxKb69cbQr+oLTCPOs9y60dnAYGiYqRyWzDE3LPuIAhshy CKr1+WqHQZ2u7z9gryWqAtCkN8UG4mgDup6/S8fvB+8eMldgjXk10PU+jH3ngxeNS9g14 wg0v49ypl5KkUF6MkEoeZDKOOzI8ZbmKQbw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois This patch fixes the following Ecc reported error: Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE Signed-off-by: Pierre Gondois --- The changes can be seen at: https://github.com/PierreARM/edk2-platforms/tr= ee/1537_Ecc_ArmPlatformPkg_v1 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.c b/ArmPlatform= Pkg/Drivers/NorFlashDxe/NorFlashDxe.c index d9e196cbf18c32fe5306cc3c0674a7b5798a9191..b681c4b4668630de8a9585363a3= 28b3e3f1bc324 100644 --- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.c +++ b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.c @@ -1,6 +1,6 @@ /** @file NorFlashDxe.c - Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.
+ Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -259,7 +259,7 @@ NorFlashUnlockSingleBlockIfNecessary ( Status =3D EFI_SUCCESS; - if (NorFlashBlockIsLocked (Instance, BlockAddress) =3D=3D TRUE) { + if (NorFlashBlockIsLocked (Instance, BlockAddress)) { Status =3D NorFlashUnlockSingleBlock (Instance, BlockAddress); } -- 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#68264): https://edk2.groups.io/g/devel/message/68264 Mute This Topic: https://groups.io/mt/78690944/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-