From patchwork Thu Jun 29 15:55:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Federico Serafini X-Patchwork-Id: 13297133 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0EBDAC0015E for ; Thu, 29 Jun 2023 15:56:13 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.556955.869881 (Exim 4.92) (envelope-from ) id 1qEtzp-0000zr-LO; Thu, 29 Jun 2023 15:55:49 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 556955.869881; Thu, 29 Jun 2023 15:55:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qEtzp-0000zk-Hl; Thu, 29 Jun 2023 15:55:49 +0000 Received: by outflank-mailman (input) for mailman id 556955; Thu, 29 Jun 2023 15:55:47 +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 1qEtzn-0000zP-Fs for xen-devel@lists.xenproject.org; Thu, 29 Jun 2023 15:55:47 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 68ba15ba-1695-11ee-b237-6b7b168915f2; Thu, 29 Jun 2023 17:55:46 +0200 (CEST) Received: from Dell.bugseng.com (unknown [37.160.192.186]) by support.bugseng.com (Postfix) with ESMTPSA id 37F7D4EE0737; Thu, 29 Jun 2023 17:55:43 +0200 (CEST) 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: 68ba15ba-1695-11ee-b237-6b7b168915f2 From: Federico Serafini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Federico Serafini , Jan Beulich , Andrew Cooper , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Wei Liu , Paul Durrant , Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu , Jun Nakajima , Kevin Tian , Stefano Stabellini , Michal Orzel , Xenia Ragiadakou , Ayan Kumar Halder Subject: [XEN PATCH 0/5] Fix violations of MISRA C:2012 Rule 8.3 on parameter names Date: Thu, 29 Jun 2023 17:55:28 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 To comply with Rule 8.3 ("All declarations of an object or function shall use the same names and type qualifiers") change the parameter names in order to have function declarations consistent with the corresponding definitions. Federico Serafini (5): x86: swap parameter names of hvm_copy_context_and_params() declaration x86: change parameter names of nestedhvm_vcpu_iomap_get() definition x86/vlapic: change parameter names in function definitions x86/x86_emulate: change parameter name from 's' to 'state' x86: make parameter names of function declarations consistent xen/arch/x86/cpu/mcheck/mce.h | 2 +- xen/arch/x86/cpu/mcheck/x86_mca.h | 2 +- xen/arch/x86/hvm/nestedhvm.c | 10 ++--- xen/arch/x86/hvm/rtc.c | 2 +- xen/arch/x86/hvm/svm/nestedhvm.h | 2 +- xen/arch/x86/hvm/vioapic.c | 2 +- xen/arch/x86/hvm/vlapic.c | 56 ++++++++++++------------- xen/arch/x86/include/asm/genapic.h | 2 +- xen/arch/x86/include/asm/guest_pt.h | 2 +- xen/arch/x86/include/asm/hap.h | 2 +- xen/arch/x86/include/asm/hvm/hvm.h | 2 +- xen/arch/x86/include/asm/hvm/io.h | 2 +- xen/arch/x86/include/asm/hvm/monitor.h | 2 +- xen/arch/x86/include/asm/hvm/svm/vmcb.h | 2 +- xen/arch/x86/include/asm/hvm/vmx/vmcs.h | 4 +- xen/arch/x86/include/asm/hvm/vmx/vvmx.h | 8 ++-- xen/arch/x86/include/asm/io_apic.h | 2 +- xen/arch/x86/include/asm/irq.h | 6 +-- xen/arch/x86/include/asm/mem_access.h | 2 +- xen/arch/x86/include/asm/mpspec.h | 2 +- xen/arch/x86/include/asm/msi.h | 4 +- xen/arch/x86/include/asm/p2m.h | 8 ++-- xen/arch/x86/include/asm/paging.h | 2 +- xen/arch/x86/include/asm/psr.h | 2 +- xen/arch/x86/include/asm/setup.h | 2 +- xen/arch/x86/include/asm/uaccess.h | 6 +-- xen/arch/x86/include/asm/xstate.h | 2 +- xen/arch/x86/x86_emulate/blk.c | 38 ++++++++--------- xen/arch/x86/x86_emulate/util-xen.c | 46 ++++++++++---------- xen/arch/x86/x86_emulate/util.c | 54 ++++++++++++------------ xen/include/xen/lib/x86/cpu-policy.h | 29 ++++++------- 31 files changed, 154 insertions(+), 153 deletions(-)