From patchwork Mon Jun 26 09:52:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Federico Serafini X-Patchwork-Id: 13292581 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 7C265EB64D7 for ; Mon, 26 Jun 2023 09:53:00 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.555379.867101 (Exim 4.92) (envelope-from ) id 1qDitg-0000P8-1k; Mon, 26 Jun 2023 09:52:36 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 555379.867101; Mon, 26 Jun 2023 09:52:36 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qDitf-0000P1-UJ; Mon, 26 Jun 2023 09:52:35 +0000 Received: by outflank-mailman (input) for mailman id 555379; Mon, 26 Jun 2023 09:52:34 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qDite-0000Ov-Kt for xen-devel@lists.xenproject.org; Mon, 26 Jun 2023 09:52:34 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 2a8e5802-1407-11ee-8611-37d641c3527e; Mon, 26 Jun 2023 11:52:31 +0200 (CEST) Received: from Dell.bugseng.com (unknown [37.163.27.55]) by support.bugseng.com (Postfix) with ESMTPSA id 2E3904EE0738; Mon, 26 Jun 2023 11:52:28 +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: 2a8e5802-1407-11ee-8611-37d641c3527e From: Federico Serafini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Federico Serafini , Stefano Stabellini , Julien Grall , Bertrand Marquis , Volodymyr Babchuk , Michal Orzel , Xenia Ragiadakou , Ayan Kumar Halder Subject: [XEN PATCH v3 0/6] fix violations of MISRA C:2012 Rule 8.3 on parameter names. Date: Mon, 26 Jun 2023 11:52:12 +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. Changes in v3: - split previous patch in multiple parts to facilitate review. Changes in v2: - adapted parameter names in function definitions to the names used in function declarations when the context requires it; - reflected changes to the function identifier in order to maintain consistency with modifications on parameter names; - extended changes to definitions under xen/arch/arm/vgic Federico Serafini (6): xen/arm: change names in function access_guest_memory_by_ipa(). xen/arm: change parameter name 'vcpu' in domain() function definition. xen/arm: change parameter name 'pa' in ioremap_addr() definition. xen/arm: vgic: change parameter name in 'init' and 'free' functions. xen/arm: make parameter names of function declarations consistent. xen/arm: change parameter names in replace_grant_host_mapping(). xen/arch/arm/domain.c | 10 +++++----- xen/arch/arm/guest_walk.c | 6 +++--- xen/arch/arm/guestcopy.c | 2 +- xen/arch/arm/include/asm/fixmap.h | 2 +- xen/arch/arm/include/asm/gic.h | 2 +- xen/arch/arm/include/asm/gic_v3_its.h | 5 +++-- xen/arch/arm/include/asm/grant_table.h | 4 ++-- xen/arch/arm/include/asm/guest_access.h | 4 ++-- xen/arch/arm/include/asm/irq.h | 2 +- xen/arch/arm/include/asm/regs.h | 2 +- xen/arch/arm/include/asm/vgic.h | 4 ++-- xen/arch/arm/mm.c | 20 ++++++++++---------- xen/arch/arm/tee/optee.c | 10 +++++----- xen/arch/arm/vgic-v3-its.c | 16 ++++++++-------- xen/arch/arm/vgic/vgic-init.c | 12 ++++++------ 15 files changed, 51 insertions(+), 50 deletions(-)