From patchwork Thu Jul 27 15:04:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Federico Serafini X-Patchwork-Id: 13330252 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 03F04C04A6A for ; Thu, 27 Jul 2023 15:05:23 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.571168.894372 (Exim 4.92) (envelope-from ) id 1qP2Y3-0006gu-Ey; Thu, 27 Jul 2023 15:05:03 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 571168.894372; Thu, 27 Jul 2023 15:05:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qP2Y3-0006gn-CQ; Thu, 27 Jul 2023 15:05:03 +0000 Received: by outflank-mailman (input) for mailman id 571168; Thu, 27 Jul 2023 15:05:02 +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 1qP2Y2-0006gh-4m for xen-devel@lists.xenproject.org; Thu, 27 Jul 2023 15:05:02 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id f52a73a6-2c8e-11ee-b248-6b7b168915f2; Thu, 27 Jul 2023 17:05:00 +0200 (CEST) Received: from Dell.bugseng.com (unknown [37.161.207.213]) by support.bugseng.com (Postfix) with ESMTPSA id 528884EE073F; Thu, 27 Jul 2023 17:04:59 +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: f52a73a6-2c8e-11ee-b248-6b7b168915f2 From: Federico Serafini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Federico Serafini , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [XEN PATCH] xen: change names and type qualifiers in copy_domain_page() declaration Date: Thu, 27 Jul 2023 17:04:51 +0200 Message-Id: <49ce75f6f79f6de3a447f9bfb44e288e689dd8f3.1690470179.git.federico.serafini@bugseng.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Change names and type qualifiers of parameters in copy_domain_page() declaration to keep consistency with the corresponding definition. This addresses violations of MISRA C:2012 Rule 8.3: "All declarations of an object or function shall use the same names and type qualifiers". No functional changes. Signed-off-by: Federico Serafini Acked-by: Jan Beulich --- xen/include/xen/domain_page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xen/domain_page.h b/xen/include/xen/domain_page.h index 149b217b96..c4007eac09 100644 --- a/xen/include/xen/domain_page.h +++ b/xen/include/xen/domain_page.h @@ -15,7 +15,7 @@ * Clear a given page frame, or copy between two of them. */ void clear_domain_page(mfn_t mfn); -void copy_domain_page(mfn_t dst, const mfn_t src); +void copy_domain_page(mfn_t dest, mfn_t source); #ifdef CONFIG_ARCH_MAP_DOMAIN_PAGE