From nobody Mon Feb 9 11:06:13 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) 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=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1555620062; cv=none; d=zoho.com; s=zohoarc; b=gGkT8P/2F77Gb8QsxLINc71rP96iXKqklOxq53n2SoMpkewMoMYGsDiqdsG7UFGYXRq0Q5sKmElvl6uTYftTzHifKqghzlPpKv1UolD+Kc3L6uVc+qCjRKg7iua4qhjeD9RPmCg2F4PK1RLTjnjOhRha0pxlQL0ZdY4qlKqjZm8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555620062; h=Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=yn3ojNJt3GmTPeWsHCNPRkJJCizY7kx1a0h/GrfoXB8=; b=TcNC8iH9TX7cUTw1ZjtReFCcFqJLCAsSM4tln0ayRbVhke+Gfhn/E5wvPYN7j1DCxV/RBlTNem/rD6rmC/KHDXkbzruL/44rfG6YboDSvopF5a8jTmDuYD5E177T4pbJNEjbCgZ/Y/zvLe+omHUVpDPN7wPpwBdUJU36AENNANQ= ARC-Authentication-Results: i=1; mx.zoho.com; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1555620062131700.8070822078423; Thu, 18 Apr 2019 13:41:02 -0700 (PDT) Received: from localhost ([127.0.0.1]:46920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHDpt-0005aJ-6I for importer@patchew.org; Thu, 18 Apr 2019 16:40:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHDnw-0001HG-GP for qemu-devel@nongnu.org; Thu, 18 Apr 2019 16:38:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHDnv-0002dK-Eu for qemu-devel@nongnu.org; Thu, 18 Apr 2019 16:38:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53122) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hHDnv-0002bl-8x for qemu-devel@nongnu.org; Thu, 18 Apr 2019 16:38:43 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2B99F3082E5A for ; Thu, 18 Apr 2019 20:38:42 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-116.ams2.redhat.com [10.36.116.116]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EFCCC1001DF5 for ; Thu, 18 Apr 2019 20:38:41 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 6C8441132BD3; Thu, 18 Apr 2019 22:38:40 +0200 (CEST) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Thu, 18 Apr 2019 22:38:33 +0200 Message-Id: <20190418203840.10528-3-armbru@redhat.com> In-Reply-To: <20190418203840.10528-1-armbru@redhat.com> References: <20190418203840.10528-1-armbru@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Thu, 18 Apr 2019 20:38:42 +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] [PULL for-4.1 2/9] 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 Message-Id: <20190315145123.28030-2-armbru@redhat.com> --- 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 21cc804367..30c7052651 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 2d42249691..e7babe96cb 100644 --- a/hw/rdma/rdma_utils.h +++ b/hw/rdma/rdma_utils.h @@ -20,7 +20,6 @@ #include "qemu/error-report.h" #include "hw/pci/pci.h" #include "sysemu/dma.h" -#include "stdio.h" =20 #define rdma_error_report(fmt, ...) \ error_report("%s: " fmt, "rdma", ## __VA_ARGS__) 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