From patchwork Fri Aug 25 15:02:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Vetrini X-Patchwork-Id: 13366063 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 67757C3DA66 for ; Fri, 25 Aug 2023 15:03:06 +0000 (UTC) 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 X-Outflank-Mailman: Message body and most headers restored to incoming version 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-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 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 missing 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 definition 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(-) -- 2.34.1 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