From: "Michael S. Tsirkin" <mst@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org,
Michael Tokarev <mjt@tls.msk.ru>,
Laurent Vivier <laurent@vivier.eu>
Subject: Re: [Qemu-trivial] [PATCH] trivial: Do not include pci.h if it is not necessary
Date: Mon, 30 Apr 2018 18:56:24 +0300 [thread overview]
Message-ID: <20180430185609-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1525073539-27991-1-git-send-email-thuth@redhat.com>
On Mon, Apr 30, 2018 at 09:32:19AM +0200, Thomas Huth wrote:
> There is no need to include pci.h in these files.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> include/hw/ppc/ppc4xx.h | 2 --
> include/hw/virtio/virtio-balloon.h | 1 -
> include/hw/virtio/virtio-gpu.h | 1 -
> 3 files changed, 4 deletions(-)
>
> diff --git a/include/hw/ppc/ppc4xx.h b/include/hw/ppc/ppc4xx.h
> index cb0bb55..3a2a04c 100644
> --- a/include/hw/ppc/ppc4xx.h
> +++ b/include/hw/ppc/ppc4xx.h
> @@ -25,8 +25,6 @@
> #ifndef PPC4XX_H
> #define PPC4XX_H
>
> -#include "hw/pci/pci.h"
> -
> /* PowerPC 4xx core initialization */
> PowerPCCPU *ppc4xx_init(const char *cpu_model,
> clk_setup_t *cpu_clk, clk_setup_t *tb_clk,
> diff --git a/include/hw/virtio/virtio-balloon.h b/include/hw/virtio/virtio-balloon.h
> index 1ea13bd..e0df352 100644
> --- a/include/hw/virtio/virtio-balloon.h
> +++ b/include/hw/virtio/virtio-balloon.h
> @@ -17,7 +17,6 @@
>
> #include "standard-headers/linux/virtio_balloon.h"
> #include "hw/virtio/virtio.h"
> -#include "hw/pci/pci.h"
>
> #define TYPE_VIRTIO_BALLOON "virtio-balloon-device"
> #define VIRTIO_BALLOON(obj) \
> diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h
> index 22ac3c2..79bb3fb 100644
> --- a/include/hw/virtio/virtio-gpu.h
> +++ b/include/hw/virtio/virtio-gpu.h
> @@ -18,7 +18,6 @@
> #include "ui/qemu-pixman.h"
> #include "ui/console.h"
> #include "hw/virtio/virtio.h"
> -#include "hw/pci/pci.h"
> #include "qemu/log.h"
>
> #include "standard-headers/linux/virtio_gpu.h"
> --
> 1.8.3.1
WARNING: multiple messages have this Message-ID (diff)
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org,
Michael Tokarev <mjt@tls.msk.ru>,
Laurent Vivier <laurent@vivier.eu>
Subject: Re: [Qemu-devel] [PATCH] trivial: Do not include pci.h if it is not necessary
Date: Mon, 30 Apr 2018 18:56:24 +0300 [thread overview]
Message-ID: <20180430185609-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1525073539-27991-1-git-send-email-thuth@redhat.com>
On Mon, Apr 30, 2018 at 09:32:19AM +0200, Thomas Huth wrote:
> There is no need to include pci.h in these files.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> include/hw/ppc/ppc4xx.h | 2 --
> include/hw/virtio/virtio-balloon.h | 1 -
> include/hw/virtio/virtio-gpu.h | 1 -
> 3 files changed, 4 deletions(-)
>
> diff --git a/include/hw/ppc/ppc4xx.h b/include/hw/ppc/ppc4xx.h
> index cb0bb55..3a2a04c 100644
> --- a/include/hw/ppc/ppc4xx.h
> +++ b/include/hw/ppc/ppc4xx.h
> @@ -25,8 +25,6 @@
> #ifndef PPC4XX_H
> #define PPC4XX_H
>
> -#include "hw/pci/pci.h"
> -
> /* PowerPC 4xx core initialization */
> PowerPCCPU *ppc4xx_init(const char *cpu_model,
> clk_setup_t *cpu_clk, clk_setup_t *tb_clk,
> diff --git a/include/hw/virtio/virtio-balloon.h b/include/hw/virtio/virtio-balloon.h
> index 1ea13bd..e0df352 100644
> --- a/include/hw/virtio/virtio-balloon.h
> +++ b/include/hw/virtio/virtio-balloon.h
> @@ -17,7 +17,6 @@
>
> #include "standard-headers/linux/virtio_balloon.h"
> #include "hw/virtio/virtio.h"
> -#include "hw/pci/pci.h"
>
> #define TYPE_VIRTIO_BALLOON "virtio-balloon-device"
> #define VIRTIO_BALLOON(obj) \
> diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h
> index 22ac3c2..79bb3fb 100644
> --- a/include/hw/virtio/virtio-gpu.h
> +++ b/include/hw/virtio/virtio-gpu.h
> @@ -18,7 +18,6 @@
> #include "ui/qemu-pixman.h"
> #include "ui/console.h"
> #include "hw/virtio/virtio.h"
> -#include "hw/pci/pci.h"
> #include "qemu/log.h"
>
> #include "standard-headers/linux/virtio_gpu.h"
> --
> 1.8.3.1
next prev parent reply other threads:[~2018-04-30 15:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-30 7:32 [Qemu-trivial] [PATCH] trivial: Do not include pci.h if it is not necessary Thomas Huth
2018-04-30 7:32 ` [Qemu-devel] " Thomas Huth
2018-04-30 15:56 ` Michael S. Tsirkin [this message]
2018-04-30 15:56 ` Michael S. Tsirkin
2018-05-01 3:18 ` [Qemu-trivial] " Philippe Mathieu-Daudé
2018-05-01 3:18 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180430185609-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=laurent@vivier.eu \
--cc=mjt@tls.msk.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.