From nobody Mon Feb 9 01:01:09 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 169399070016899.0982637862578; Wed, 6 Sep 2023 01:58:20 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.596374.930260 (Exim 4.92) (envelope-from ) id 1qdoMC-0000J3-ML; Wed, 06 Sep 2023 08:57:52 +0000 Received: by outflank-mailman (output) from mailman id 596374.930260; Wed, 06 Sep 2023 08:57:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qdoMC-0000GG-Dz; Wed, 06 Sep 2023 08:57:52 +0000 Received: by outflank-mailman (input) for mailman id 596374; Wed, 06 Sep 2023 08:57:51 +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 1qdoMB-0008TQ-Bb for xen-devel@lists.xenproject.org; Wed, 06 Sep 2023 08:57:51 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 7468798e-4c93-11ee-8783-cb3800f73035; Wed, 06 Sep 2023 10:57:49 +0200 (CEST) Received: from Dell.homenet.telecomitalia.it (host-87-6-207-235.retail.telecomitalia.it [87.6.207.235]) by support.bugseng.com (Postfix) with ESMTPSA id CA65D4EE073D; Wed, 6 Sep 2023 10:57:48 +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: 7468798e-4c93-11ee-8783-cb3800f73035 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 3/4] x86/io_apic: address violations of MISRA C:2012 Rules 8.2 and 8.3 Date: Wed, 6 Sep 2023 10:57:40 +0200 Message-Id: <56bfeae4c6a5c7f65a3f329003583aed6de13b19.1693990010.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: 1693990701531100001 Content-Type: text/plain; charset="utf-8" Add missing parameter names and make function declarations and definitions consistent. No functional change. Signed-off-by: Federico Serafini Acked-by: Jan Beulich --- xen/arch/x86/include/asm/io_apic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/include/asm/io_apic.h b/xen/arch/x86/include/asm/= io_apic.h index 9165da2281..a7e4c9e146 100644 --- a/xen/arch/x86/include/asm/io_apic.h +++ b/xen/arch/x86/include/asm/io_apic.h @@ -199,7 +199,7 @@ extern struct IO_APIC_route_entry __ioapic_read_entry( unsigned int apic, unsigned int pin, bool raw); void __ioapic_write_entry( unsigned int apic, unsigned int pin, bool raw, - struct IO_APIC_route_entry); + struct IO_APIC_route_entry e); =20 extern struct IO_APIC_route_entry **alloc_ioapic_entries(void); extern void free_ioapic_entries(struct IO_APIC_route_entry **ioapic_entrie= s); @@ -211,6 +211,6 @@ extern int restore_IO_APIC_setup(struct IO_APIC_route_e= ntry **ioapic_entries, unsigned highest_gsi(void); =20 int ioapic_guest_read( unsigned long physbase, unsigned int reg, u32 *pval= ); -int ioapic_guest_write(unsigned long physbase, unsigned int reg, u32 pval); +int ioapic_guest_write(unsigned long physbase, unsigned int reg, u32 val); =20 #endif --=20 2.34.1