[PATCH v2 10/10] accel/tcg: Sanitize include path

Philippe Mathieu-Daudé posted 10 patches 6 years ago
Maintainers: David Gibson <david@gibson.dropbear.id.au>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <rth@twiddle.net>, Peter Maydell <peter.maydell@linaro.org>, Eduardo Habkost <ehabkost@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>, Cornelia Huck <cohuck@redhat.com>, David Hildenbrand <david@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>
[PATCH v2 10/10] accel/tcg: Sanitize include path
Posted by Philippe Mathieu-Daudé 6 years ago
Commit af0440ae852 moved the qemu_tcg_configure() function,
but introduced extraneous 'include/' in the includes path.
As it is not necessary, remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
v2: New patch
---
 accel/tcg/tcg-all.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/accel/tcg/tcg-all.c b/accel/tcg/tcg-all.c
index 1802ce02f6..acfdcfdf59 100644
--- a/accel/tcg/tcg-all.c
+++ b/accel/tcg/tcg-all.c
@@ -31,9 +31,9 @@
 #include "sysemu/cpus.h"
 #include "qemu/main-loop.h"
 #include "tcg/tcg.h"
-#include "include/qapi/error.h"
-#include "include/qemu/error-report.h"
-#include "include/hw/boards.h"
+#include "qapi/error.h"
+#include "qemu/error-report.h"
+#include "hw/boards.h"
 #include "qapi/qapi-builtin-visit.h"
 
 typedef struct TCGState {
-- 
2.21.1


Re: [PATCH v2 10/10] accel/tcg: Sanitize include path
Posted by Cornelia Huck 6 years ago
On Tue, 21 Jan 2020 12:03:49 +0100
Philippe Mathieu-Daudé <philmd@redhat.com> wrote:

> Commit af0440ae852 moved the qemu_tcg_configure() function,
> but introduced extraneous 'include/' in the includes path.
> As it is not necessary, remove it.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> v2: New patch
> ---
>  accel/tcg/tcg-all.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/accel/tcg/tcg-all.c b/accel/tcg/tcg-all.c
> index 1802ce02f6..acfdcfdf59 100644
> --- a/accel/tcg/tcg-all.c
> +++ b/accel/tcg/tcg-all.c
> @@ -31,9 +31,9 @@
>  #include "sysemu/cpus.h"
>  #include "qemu/main-loop.h"
>  #include "tcg/tcg.h"
> -#include "include/qapi/error.h"
> -#include "include/qemu/error-report.h"
> -#include "include/hw/boards.h"
> +#include "qapi/error.h"
> +#include "qemu/error-report.h"
> +#include "hw/boards.h"
>  #include "qapi/qapi-builtin-visit.h"
>  
>  typedef struct TCGState {

Reviewed-by: Cornelia Huck <cohuck@redhat.com>