From nobody Sun May 19 13:14:41 2024 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 1692975797742485.2337344492058; Fri, 25 Aug 2023 08:03:17 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.590948.923314 (Exim 4.92) (envelope-from ) id 1qZYKi-0007HL-9f; Fri, 25 Aug 2023 15:02:44 +0000 Received: by outflank-mailman (output) from mailman id 590948.923314; Fri, 25 Aug 2023 15:02:44 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qZYKi-0007HE-6J; Fri, 25 Aug 2023 15:02:44 +0000 Received: by outflank-mailman (input) for mailman id 590948; Fri, 25 Aug 2023 15:02:42 +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 1qZYKg-0007H5-KM for xen-devel@lists.xenproject.org; Fri, 25 Aug 2023 15:02:42 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 6f3359e5-4358-11ee-8783-cb3800f73035; Fri, 25 Aug 2023 17:02:40 +0200 (CEST) Received: from nico.bugseng.com (unknown [147.123.100.131]) by support.bugseng.com (Postfix) with ESMTPSA id 8F3724EE0737; Fri, 25 Aug 2023 17:02:38 +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: 6f3359e5-4358-11ee-8783-cb3800f73035 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, michal.orzel@amd.com, xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com, consulting@bugseng.com, Nicola Vetrini , Julien Grall , Bertrand Marquis , Volodymyr Babchuk , Paul Durrant Subject: [XEN PATCH] ioreq: include arch-specific ioreq header in Date: Fri, 25 Aug 2023 17:02:17 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1692975800074100001 Content-Type: text/plain; charset="utf-8" The common header file for ioreq should include the arch-specific one. This also addresses violations of MISRA C:2012 Rule 8.4 caused by the missi= ng inclusion of in the arm implementation file. Signed-off-by: Nicola Vetrini Reviewed-by: Stefano Stabellini --- - The deleted includes are therefore no longer necessary, since is sufficient. - The functions (possibly) missing a visible declaration prior to their def= inition currently are 'handle_ioserv' and 'try_fwd_ioserv' --- xen/arch/arm/io.c | 1 - xen/common/ioreq.c | 1 - xen/include/xen/ioreq.h | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/arch/arm/io.c b/xen/arch/arm/io.c index 96c740d5636c..13ae1fed5718 100644 --- a/xen/arch/arm/io.c +++ b/xen/arch/arm/io.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include diff --git a/xen/common/ioreq.c b/xen/common/ioreq.c index 7cb717f7a2a4..bde1a1f4eaa1 100644 --- a/xen/common/ioreq.c +++ b/xen/common/ioreq.c @@ -28,7 +28,6 @@ #include #include -#include #include #include diff --git a/xen/include/xen/ioreq.h b/xen/include/xen/ioreq.h index a26614d331e3..d85477c665e9 100644 --- a/xen/include/xen/ioreq.h +++ b/xen/include/xen/ioreq.h @@ -20,6 +20,7 @@ #define __XEN_IOREQ_H__ #include +#include #include -- 2.34.1