* [Qemu-devel] [PATCH] target-i386/cpu.c: Fix two error output indentation
@ 2014-07-28 7:13 Chen Fan
2014-07-28 8:07 ` Igor Mammedov
0 siblings, 1 reply; 3+ messages in thread
From: Chen Fan @ 2014-07-28 7:13 UTC (permalink / raw)
To: qemu-devel
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);
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] target-i386/cpu.c: Fix two error output indentation
2014-07-28 7:13 [Qemu-devel] [PATCH] target-i386/cpu.c: Fix two error output indentation Chen Fan
@ 2014-07-28 8:07 ` Igor Mammedov
2014-08-02 13:23 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
0 siblings, 1 reply; 3+ messages in thread
From: Igor Mammedov @ 2014-07-28 8:07 UTC (permalink / raw)
To: Chen Fan; +Cc: qemu-trivial, qemu-devel
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH] target-i386/cpu.c: Fix two error output indentation
2014-07-28 8:07 ` Igor Mammedov
@ 2014-08-02 13:23 ` Michael Tokarev
0 siblings, 0 replies; 3+ messages in thread
From: Michael Tokarev @ 2014-08-02 13:23 UTC (permalink / raw)
To: Igor Mammedov, Chen Fan; +Cc: qemu-trivial, qemu-devel
Thanks, applied to -trivial.
/mjt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-02 13:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28 7:13 [Qemu-devel] [PATCH] target-i386/cpu.c: Fix two error output indentation Chen Fan
2014-07-28 8:07 ` Igor Mammedov
2014-08-02 13:23 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
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.