From nobody Mon Feb 9 10:29:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552661629109466.27840841307636; Fri, 15 Mar 2019 07:53:49 -0700 (PDT) Received: from localhost ([127.0.0.1]:56732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4oDP-00021N-2x for importer@patchew.org; Fri, 15 Mar 2019 10:53:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4oBG-0000ie-Hi for qemu-devel@nongnu.org; Fri, 15 Mar 2019 10:51:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4oBF-00066Q-Ak for qemu-devel@nongnu.org; Fri, 15 Mar 2019 10:51:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55282) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h4oBE-00063s-Up for qemu-devel@nongnu.org; Fri, 15 Mar 2019 10:51:29 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2870F302490 for ; Fri, 15 Mar 2019 14:51:28 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-92.ams2.redhat.com [10.36.116.92]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C08E55DA2A for ; Fri, 15 Mar 2019 14:51:27 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 72C4011385FA; Fri, 15 Mar 2019 15:51:23 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Fri, 15 Mar 2019 15:51:16 +0100 Message-Id: <20190315145123.28030-2-armbru@redhat.com> In-Reply-To: <20190315145123.28030-1-armbru@redhat.com> References: <20190315145123.28030-1-armbru@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Fri, 15 Mar 2019 14:51:28 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 1/8] Use #include "..." for our own headers, <...> for others X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Also delete a few redundant #include. Signed-off-by: Markus Armbruster --- contrib/rdmacm-mux/main.c | 18 +++++++++--------- contrib/rdmacm-mux/rdmacm-mux.h | 6 +++--- hw/rdma/rdma_utils.h | 1 - target/i386/whp-dispatch.h | 2 +- target/i386/whpx-all.c | 1 - 5 files changed, 13 insertions(+), 15 deletions(-) diff --git a/contrib/rdmacm-mux/main.c b/contrib/rdmacm-mux/main.c index ae88c77a1e..b900c554f3 100644 --- a/contrib/rdmacm-mux/main.c +++ b/contrib/rdmacm-mux/main.c @@ -14,16 +14,16 @@ */ =20 #include "qemu/osdep.h" -#include "sys/poll.h" -#include "sys/ioctl.h" -#include "pthread.h" -#include "syslog.h" +#include +#include +#include +#include =20 -#include "infiniband/verbs.h" -#include "infiniband/umad.h" -#include "infiniband/umad_types.h" -#include "infiniband/umad_sa.h" -#include "infiniband/umad_cm.h" +#include +#include +#include +#include +#include =20 #include "rdmacm-mux.h" =20 diff --git a/contrib/rdmacm-mux/rdmacm-mux.h b/contrib/rdmacm-mux/rdmacm-mu= x.h index 942a802c47..07a4722913 100644 --- a/contrib/rdmacm-mux/rdmacm-mux.h +++ b/contrib/rdmacm-mux/rdmacm-mux.h @@ -17,9 +17,9 @@ #define RDMACM_MUX_H =20 #include "linux/if.h" -#include "infiniband/verbs.h" -#include "infiniband/umad.h" -#include "rdma/rdma_user_cm.h" +#include +#include +#include =20 typedef enum RdmaCmMuxMsgType { RDMACM_MUX_MSG_TYPE_REQ =3D 0, diff --git a/hw/rdma/rdma_utils.h b/hw/rdma/rdma_utils.h index 4490ea0b94..a0fad62030 100644 --- a/hw/rdma/rdma_utils.h +++ b/hw/rdma/rdma_utils.h @@ -19,7 +19,6 @@ =20 #include "hw/pci/pci.h" #include "sysemu/dma.h" -#include "stdio.h" =20 #define pr_info(fmt, ...) \ fprintf(stdout, "%s: %-20s (%3d): " fmt, "rdma", __func__, __LINE__,\ diff --git a/target/i386/whp-dispatch.h b/target/i386/whp-dispatch.h index 4ae3cc8fa5..a23fb33a29 100644 --- a/target/i386/whp-dispatch.h +++ b/target/i386/whp-dispatch.h @@ -1,4 +1,4 @@ -#include "windows.h" +#include =20 #include #include diff --git a/target/i386/whpx-all.c b/target/i386/whpx-all.c index 57e53e1f1f..31d47320e4 100644 --- a/target/i386/whpx-all.c +++ b/target/i386/whpx-all.c @@ -13,7 +13,6 @@ #include "exec/address-spaces.h" #include "exec/ioport.h" #include "qemu-common.h" -#include "strings.h" #include "sysemu/accel.h" #include "sysemu/whpx.h" #include "sysemu/sysemu.h" --=20 2.17.2