[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-1.4] target-cris: Fix typo in D_LOG() macro
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH for-1.4] target-cris: Fix typo in D_LOG() macro |
Date: |
Thu, 24 Jan 2013 10:53:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 |
Am 24.01.2013 10:51, schrieb Andreas Färber:
> It's __VAR_ARGS__. Fixes the build with CRIS_[OP_]HELPER_DEBUG defined.
__VA_ARGS__ obviously. :) Please fix when committing.
Andreas
>
> Broken since r6338 / 93fcfe39a0383377e647b821c9f165fd927cd4e0 (Convert
> references to logfile/loglevel to use qemu_log*() macros).
>
> Cc: Eduardo Habkost <address@hidden>
> Signed-off-by: Andreas Färber <address@hidden>
> ---
> target-cris/helper.c | 2 +-
> target-cris/op_helper.c | 2 +-
> 2 Dateien geändert, 2 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)
>
> diff --git a/target-cris/helper.c b/target-cris/helper.c
> index 8407a6d..6e75e98 100644
> --- a/target-cris/helper.c
> +++ b/target-cris/helper.c
> @@ -28,7 +28,7 @@
>
> #ifdef CRIS_HELPER_DEBUG
> #define D(x) x
> -#define D_LOG(...) qemu_log(__VA__ARGS__)
> +#define D_LOG(...) qemu_log(__VA_ARGS__)
> #else
> #define D(x)
> #define D_LOG(...) do { } while (0)
> diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c
> index 79bff38..0f6a1ee 100644
> --- a/target-cris/op_helper.c
> +++ b/target-cris/op_helper.c
> @@ -28,7 +28,7 @@
>
> #ifdef CRIS_OP_HELPER_DEBUG
> #define D(x) x
> -#define D_LOG(...) qemu_log(__VA__ARGS__)
> +#define D_LOG(...) qemu_log(__VA_ARGS__)
> #else
> #define D(x)
> #define D_LOG(...) do { } while (0)
>
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg