* [Qemu-devel] [PATCH] hw/intc/arm_gicv3: Fix compilation with simple trace backend
@ 2016-06-20 9:57 Peter Maydell
2016-06-20 10:22 ` Sergey Fedorov
0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2016-06-20 9:57 UTC (permalink / raw)
To: qemu-arm, qemu-devel; +Cc: patches, Sergey Fedorov
Fix missing includes of qemu/log.h, which broke compilation with the
simple trace backend (the default backend pulls in log.h implicitly
via trace.h).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
In particular, this broke travis builds.
---
hw/intc/arm_gicv3_dist.c | 1 +
hw/intc/arm_gicv3_redist.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/hw/intc/arm_gicv3_dist.c b/hw/intc/arm_gicv3_dist.c
index b977ae5..3ea3dd0 100644
--- a/hw/intc/arm_gicv3_dist.c
+++ b/hw/intc/arm_gicv3_dist.c
@@ -10,6 +10,7 @@
*/
#include "qemu/osdep.h"
+#include "qemu/log.h"
#include "trace.h"
#include "gicv3_internal.h"
diff --git a/hw/intc/arm_gicv3_redist.c b/hw/intc/arm_gicv3_redist.c
index 55c25e8..2f60096 100644
--- a/hw/intc/arm_gicv3_redist.c
+++ b/hw/intc/arm_gicv3_redist.c
@@ -10,6 +10,7 @@
*/
#include "qemu/osdep.h"
+#include "qemu/log.h"
#include "trace.h"
#include "gicv3_internal.h"
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/intc/arm_gicv3: Fix compilation with simple trace backend
2016-06-20 9:57 [Qemu-devel] [PATCH] hw/intc/arm_gicv3: Fix compilation with simple trace backend Peter Maydell
@ 2016-06-20 10:22 ` Sergey Fedorov
2016-06-20 11:53 ` Peter Maydell
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Fedorov @ 2016-06-20 10:22 UTC (permalink / raw)
To: Peter Maydell, qemu-arm, qemu-devel; +Cc: patches
On 20/06/16 12:57, Peter Maydell wrote:
> Fix missing includes of qemu/log.h, which broke compilation with the
> simple trace backend (the default backend pulls in log.h implicitly
> via trace.h).
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Thanks,
Sergey
> ---
> In particular, this broke travis builds.
> ---
> hw/intc/arm_gicv3_dist.c | 1 +
> hw/intc/arm_gicv3_redist.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/hw/intc/arm_gicv3_dist.c b/hw/intc/arm_gicv3_dist.c
> index b977ae5..3ea3dd0 100644
> --- a/hw/intc/arm_gicv3_dist.c
> +++ b/hw/intc/arm_gicv3_dist.c
> @@ -10,6 +10,7 @@
> */
>
> #include "qemu/osdep.h"
> +#include "qemu/log.h"
> #include "trace.h"
> #include "gicv3_internal.h"
>
> diff --git a/hw/intc/arm_gicv3_redist.c b/hw/intc/arm_gicv3_redist.c
> index 55c25e8..2f60096 100644
> --- a/hw/intc/arm_gicv3_redist.c
> +++ b/hw/intc/arm_gicv3_redist.c
> @@ -10,6 +10,7 @@
> */
>
> #include "qemu/osdep.h"
> +#include "qemu/log.h"
> #include "trace.h"
> #include "gicv3_internal.h"
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/intc/arm_gicv3: Fix compilation with simple trace backend
2016-06-20 10:22 ` Sergey Fedorov
@ 2016-06-20 11:53 ` Peter Maydell
0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2016-06-20 11:53 UTC (permalink / raw)
To: Sergey Fedorov; +Cc: qemu-arm, QEMU Developers, Patch Tracking
On 20 June 2016 at 11:22, Sergey Fedorov <sergey.fedorov@linaro.org> wrote:
> On 20/06/16 12:57, Peter Maydell wrote:
>> Fix missing includes of qemu/log.h, which broke compilation with the
>> simple trace backend (the default backend pulls in log.h implicitly
>> via trace.h).
>>
>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>
> Tested-by: Sergey Fedorov <sergey.fedorov@linaro.org>
> Reviewed-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Thanks. Applied to master as a build fix.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-20 11:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 9:57 [Qemu-devel] [PATCH] hw/intc/arm_gicv3: Fix compilation with simple trace backend Peter Maydell
2016-06-20 10:22 ` Sergey Fedorov
2016-06-20 11:53 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).