diff mbox

target-i386/cpu.c: Fix two error output indentation

Message ID 1406531586-17653-1-git-send-email-chen.fan.fnst@cn.fujitsu.com
State New
Headers show

Commit Message

chenfan July 28, 2014, 7:13 a.m. UTC
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
---
 target-i386/cpu.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Igor Mammedov July 28, 2014, 8:07 a.m. UTC | #1
On Mon, 28 Jul 2014 15:13:06 +0800
Chen Fan <chen.fan.fnst@cn.fujitsu.com> wrote:

> Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
> ---
>  target-i386/cpu.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/target-i386/cpu.c b/target-i386/cpu.c
> index 6d008ab..217500c 100644
> --- a/target-i386/cpu.c
> +++ b/target-i386/cpu.c
> @@ -1716,9 +1716,9 @@ static void x86_set_hv_spinlocks(Object *obj, Visitor *v, void *opaque,
>  
>      if (value < min || value > max) {
>          error_setg(errp, "Property %s.%s doesn't take value %" PRId64
> -                  " (minimum: %" PRId64 ", maximum: %" PRId64 ")",
> -                  object_get_typename(obj), name ? name : "null",
> -                  value, min, max);
> +                   " (minimum: %" PRId64 ", maximum: %" PRId64 ")",
> +                   object_get_typename(obj), name ? name : "null",
> +                   value, min, max);
>          return;
>      }
>      cpu->hyperv_spinlock_attempts = value;
> @@ -1808,8 +1808,8 @@ static void x86_cpu_parse_featurestr(CPUState *cs, char *features,
>                  }
>                  if (numvalue < min) {
>                      error_report("hv-spinlocks value shall always be >= 0x%x"
> -                            ", fixup will be removed in future versions",
> -                            min);
> +                                 ", fixup will be removed in future versions",
> +                                 min);
>                      numvalue = min;
>                  }
>                  snprintf(num, sizeof(num), "%" PRId32, numvalue);

CCed qemu-trivial@nongnu.org

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Michael Tokarev Aug. 2, 2014, 1:23 p.m. UTC | #2
Thanks, applied to -trivial.

/mjt
diff mbox

Patch

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 6d008ab..217500c 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -1716,9 +1716,9 @@  static void x86_set_hv_spinlocks(Object *obj, Visitor *v, void *opaque,
 
     if (value < min || value > max) {
         error_setg(errp, "Property %s.%s doesn't take value %" PRId64
-                  " (minimum: %" PRId64 ", maximum: %" PRId64 ")",
-                  object_get_typename(obj), name ? name : "null",
-                  value, min, max);
+                   " (minimum: %" PRId64 ", maximum: %" PRId64 ")",
+                   object_get_typename(obj), name ? name : "null",
+                   value, min, max);
         return;
     }
     cpu->hyperv_spinlock_attempts = value;
@@ -1808,8 +1808,8 @@  static void x86_cpu_parse_featurestr(CPUState *cs, char *features,
                 }
                 if (numvalue < min) {
                     error_report("hv-spinlocks value shall always be >= 0x%x"
-                            ", fixup will be removed in future versions",
-                            min);
+                                 ", fixup will be removed in future versions",
+                                 min);
                     numvalue = min;
                 }
                 snprintf(num, sizeof(num), "%" PRId32, numvalue);