From nobody Wed Feb 11 02:54:31 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+68270+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+68270+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1607019616; cv=none; d=zohomail.com; s=zohoarc; b=isiOJexY9FAicMAdL8dOts4M2b+LLXowwvdI7kTW+PFh0o4YzFPHr3kOdy8yl7sFa4KH+TLmhNZOkgFwgSXqc0HAdIJMhcS5vmWscKsHU85FRdVePlw/jzwQ+Sf0OTz16SqJSq2wySjDjSPgnAOsYXA6oWpaM3f87M44NmbjGJ4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607019616; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=M3myCYgiICTde6F+hcvpQmTe3ISYNInzlrYPcHOmSZo=; b=QfajmhviYOfRHTP1f0o7qAJbWEKSVvOEHOG2LXpaIWtW9JI7g47k9Qn1vZmNh5cfnZlWLJ/KeszVu1feBDcIwV/D+UCl2ieFAra133TfLZNPaAJXkAdOQwMpV0Iavjm8dlzOsO0r7KBk8LDHPvoFakNWwdFgS6xx9XRwp7tTKq0= 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+68270+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 1607019616529400.5045072679127; Thu, 3 Dec 2020 10:20:16 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1meyYY1788612x4iL7DDiX80; Thu, 03 Dec 2020 10:20:16 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.871.1607019610608688183 for ; Thu, 03 Dec 2020 10:20:10 -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 4B31911D4; Thu, 3 Dec 2020 10:20:10 -0800 (PST) X-Received: from e120189.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D2BBA3F575; Thu, 3 Dec 2020 10:20:08 -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 07/16] ArmPlatformPkg: Fix Ecc error 5007 in PL031RealTimeClockLib Date: Thu, 3 Dec 2020 18:19:36 +0000 Message-Id: <20201203181945.10880-8-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: PBOs1dpYWedWtXlJprxarcBmx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607019616; bh=L4x57ZFiJ1R9ckTVda5Ad7rDPVSG3Sqy2YtNLwIA6x4=; h=Cc:Date:From:Reply-To:Subject:To; b=J0Z1eQzs2VmXfx27RdbxMX1VtqIMfHGPqN6qhVKzpZfHgbz6z/q8sFrDP2a94PVQQm+ IhaV6q3y9vHWnFWv5edybQp6njjifUc2kA9Z1L6yIrZ20lpr2TGl9T82GYsWbB7sMqgi5 5gVuBPkq58YfIS4i6lznQSC/GXlyE+JIfBE= 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: There should be no initialization of a variable as part of its declaration Signed-off-by: Pierre Gondois --- The changes can be seen at: https://github.com/PierreARM/edk2-platforms/tr= ee/1537_Ecc_ArmPlatformPkg_v1 ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c | 4 += +-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeCloc= kLib.c b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib= .c index 75c95985d4707022c87da2e29c799e726aab0bce..0df4ceb1cb39fec80553a61d8a5= 0df415862f502 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c @@ -2,7 +2,7 @@ Implement EFI RealTimeClock runtime services via RTC Lib. Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.
- Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.
+ Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.
Copyright (c) 2019, Linaro Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -121,7 +121,7 @@ LibGetTime ( OUT EFI_TIME_CAPABILITIES *Capabilities ) { - EFI_STATUS Status =3D EFI_SUCCESS; + EFI_STATUS Status; UINT32 EpochSeconds; // Ensure Time is a valid pointer -- 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 (#68270): https://edk2.groups.io/g/devel/message/68270 Mute This Topic: https://groups.io/mt/78690953/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-