From nobody Sun Feb 8 23:33:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1697639220120235.3240488409666; Wed, 18 Oct 2023 07:27:00 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.618624.962552 (Exim 4.92) (envelope-from ) id 1qt7VH-0003TT-Su; Wed, 18 Oct 2023 14:26:31 +0000 Received: by outflank-mailman (output) from mailman id 618624.962552; Wed, 18 Oct 2023 14:26:31 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qt7VH-0003TB-Nh; Wed, 18 Oct 2023 14:26:31 +0000 Received: by outflank-mailman (input) for mailman id 618624; Wed, 18 Oct 2023 14:26:29 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qt7VF-0001YJ-Qy for xen-devel@lists.xenproject.org; Wed, 18 Oct 2023 14:26:29 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 53c8e717-6dc2-11ee-98d4-6d05b1d4d9a1; Wed, 18 Oct 2023 16:26:29 +0200 (CEST) Received: from Dell.bugseng.com (unknown [37.161.127.233]) by support.bugseng.com (Postfix) with ESMTPSA id 49E054EE0740; Wed, 18 Oct 2023 16:26:28 +0200 (CEST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 53c8e717-6dc2-11ee-98d4-6d05b1d4d9a1 From: Federico Serafini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Federico Serafini , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Wei Liu Subject: [XEN PATCH 7/7] x86/hpet: address violations of MISRA C:2012 Rule 8.2 Date: Wed, 18 Oct 2023 16:26:00 +0200 Message-Id: <4d3f6608e5c76152e4ad0bbb57e38ac80cf316f3.1697638486.git.federico.serafini@bugseng.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1697639222264100002 Content-Type: text/plain; charset="utf-8" Add missing parameter names. No functional change. Signed-off-by: Federico Serafini Acked-by: Jan Beulich --- xen/arch/x86/hpet.c | 2 +- xen/arch/x86/include/asm/hpet.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/hpet.c b/xen/arch/x86/hpet.c index 79c07f6a9e..63d4158f0f 100644 --- a/xen/arch/x86/hpet.c +++ b/xen/arch/x86/hpet.c @@ -37,7 +37,7 @@ struct hpet_event_channel s_time_t next_event; cpumask_var_t cpumask; spinlock_t lock; - void (*event_handler)(struct hpet_event_channel *); + void (*event_handler)(struct hpet_event_channel *ch); =20 unsigned int idx; /* physical channel idx */ unsigned int cpu; /* msi target */ diff --git a/xen/arch/x86/include/asm/hpet.h b/xen/arch/x86/include/asm/hpe= t.h index 9919f74730..b342a154e6 100644 --- a/xen/arch/x86/include/asm/hpet.h +++ b/xen/arch/x86/include/asm/hpet.h @@ -60,7 +60,7 @@ extern int8_t opt_hpet_legacy_replacement; * Return value is zero if HPET is unavailable. */ u64 hpet_setup(void); -void hpet_resume(u32 *); +void hpet_resume(u32 *boot_cfg); =20 /* * Disable HPET hardware: restore it to boot time state. --=20 2.34.1