From nobody Thu May 2 22:07:19 2024 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+71618+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+71618+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1613066329; cv=none; d=zohomail.com; s=zohoarc; b=dHBg8Kc5XB+EeTWdzrto61/+D37VKXJkAr12wNICuSoty3ySGLkJ1Q8GgmzqNNLoKLYE2QnD4rPFjrHajvuAxCD7dkmdEIwCUe8mhXNDYla+V8aX94IFnuzJ6qKbIztzxzdr2ey+krrRN0w9IN8QyUvMd0zp6kGL19nF6Fa4Or4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613066329; h=Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=NLjd293gRXfTaa4ZGNchULDx+5IaO2HutDQcXLLaqWY=; b=ORBZg1xVtNG3kixquwtYglZ3Jq67h4hiGVm3RfDwfwChtkd14iIxjI7V3jzjEWYCbW46eLd0SAIlPRBPsyjJZELRN5ojtjmJOWfExrZjzDV1D5ouH9UbqhLGSEQ5P5yPNJpz1Sl8NfrqjbVYN/qc5NRjyaXtOAByMxtB3ofYNqY= 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+71618+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 1613066329202806.0947592709041; Thu, 11 Feb 2021 09:58:49 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id rO6PYY1788612xUyNwGTvVdo; Thu, 11 Feb 2021 09:58:48 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.244.1613066327751206493 for ; Thu, 11 Feb 2021 09:58:47 -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 5B49F12FC; Thu, 11 Feb 2021 09:58:47 -0800 (PST) X-Received: from e120189.arm.com (unknown [10.57.8.176]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 880CD3F73B; Thu, 11 Feb 2021 09:58:46 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io, sami.mujawar@arm.com Subject: [edk2-devel] [PATCH edk2-platforms v1 1/1] Platform/Arm: Fix Ecc error 7008 for SCMI_CLOCK_RATE Date: Thu, 11 Feb 2021 17:58:22 +0000 Message-Id: <20210211175822.16254-2-Pierre.Gondois@arm.com> In-Reply-To: <20210211175822.16254-1-Pierre.Gondois@arm.com> References: <20210211175822.16254-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: 6XLTFwj8xQDg9EFZvd14JMm9x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1613066328; bh=8qeps8Lpq8WNbNx5duAcovb1FkqbPgI9Sljgjc1wWoE=; h=Date:From:Reply-To:Subject:To; b=xBl8NdTbtNDyVz7RolK8sFv44qwAKt0RNzImzrLvZVxjUupHDaeZuoik80A0/8hojDD HfS7+XMOZ1Rlt3w3zbRFUDQ6emqYeKPBKh0UZwIHdiEvV3SEAn18fZ9ZZKbROioJoGJ67 A/18Ne4IZwlZNN6oNuJfWYxXKs7z926fLN8= 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 Following the Ecc reported error in the edk2 repository, the SCMI_CLOCK_RATE structure has been modified in: an enum and its elements have been renamed in: ArmPkg/Include/Protocol/ArmScmiClockProtocol.h This patch is a follow-up and fixes the following Ecc reported error: Complex types should be typedef-ed The error is due to the a nested structure declaration. The patch also re-formats the debug messages to fit in a 80 chars line. Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- The changes can be seen at: https://github.com/PierreARM/edk2-platforms/tre= e/1552_Ecc_ArmPkg_BIS_v1 .../Library/HdLcdArmJunoLib/HdLcdArmJuno.c | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/Platform/ARM/JunoPkg/Library/HdLcdArmJunoLib/HdLcdArmJuno.c b/= Platform/ARM/JunoPkg/Library/HdLcdArmJunoLib/HdLcdArmJuno.c index 30558878f068..67c9d43cf2b7 100644 --- a/Platform/ARM/JunoPkg/Library/HdLcdArmJunoLib/HdLcdArmJuno.c +++ b/Platform/ARM/JunoPkg/Library/HdLcdArmJunoLib/HdLcdArmJuno.c @@ -1,6 +1,6 @@ /** @file - Copyright (c) 2013 - 2020, Arm Limited. All rights reserved.
+ Copyright (c) 2013 - 2021, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -352,12 +352,31 @@ ProbeHdLcdClock ( return Status; } - DEBUG ((DEBUG_ERROR, "Clock ID =3D %d Clock name =3D %a\n", *ClockId, Cl= ockName)); - DEBUG ((DEBUG_ERROR, "Minimum frequency =3D %uHz\n", ClockRate.Min)); - DEBUG ((DEBUG_ERROR, "Maximum frequency =3D %uHz\n", ClockRate.Max)); - DEBUG ((DEBUG_ERROR, "Clock rate step =3D %uHz\n", ClockRate.Step)); - - DEBUG ((DEBUG_ERROR, "HDLCD Current frequency =3D %uHz\n", CurrentHdLcdF= req)); + DEBUG (( + DEBUG_ERROR, + "Clock ID =3D %d Clock name =3D %a\n", + *ClockId, ClockName + )); + DEBUG (( + DEBUG_ERROR, + "Minimum frequency =3D %uHz\n", + ClockRate.ContinuousRate.Min + )); + DEBUG (( + DEBUG_ERROR, + "Maximum frequency =3D %uHz\n", + ClockRate.ContinuousRate.Max + )); + DEBUG (( + DEBUG_ERROR, + "Clock rate step =3D %uHz\n", + ClockRate.ContinuousRate.Step + )); + DEBUG (( + DEBUG_ERROR, + "HDLCD Current frequency =3D %uHz\n", + CurrentHdLcdFreq + )); return EFI_SUCCESS; } -- 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 (#71618): https://edk2.groups.io/g/devel/message/71618 Mute This Topic: https://groups.io/mt/80563972/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-