All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] arch_init/ram_load: fix compilation on 32bit hosts
@ 2013-06-28 14:15 Alexander Graf
  2013-06-28 14:33 ` Andreas Färber
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Graf @ 2013-06-28 14:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alon Levy, Juan Quintela

Commit 87d2f825 broke compilation of arch_init.c on 32bit hosts. Fix it.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 arch_init.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch_init.c b/arch_init.c
index 560d018..f46bdb1 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -815,10 +815,10 @@ static int ram_load(QEMUFile *f, void *opaque, int version_id)
                     QTAILQ_FOREACH(block, &ram_list.blocks, next) {
                         if (!strncmp(id, block->idstr, sizeof(id))) {
                             if (block->length != length) {
-                                fprintf(stderr, "Length mismatch: %s: %ld "
-                                        "in != " RAM_ADDR_FMT "\n", id, length,
-                                        block->length);
-                                ret =  -EINVAL;
+                                fprintf(stderr, "Length mismatch: %s: "
+                                        RAM_ADDR_FMT " " "in != " RAM_ADDR_FMT
+                                        "\n", id, length, block->length);
+                                ret = -EINVAL;
                                 goto done;
                             }
                             break;
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] arch_init/ram_load: fix compilation on 32bit hosts
  2013-06-28 14:15 [Qemu-devel] [PATCH] arch_init/ram_load: fix compilation on 32bit hosts Alexander Graf
@ 2013-06-28 14:33 ` Andreas Färber
  2013-06-28 14:35   ` Alexander Graf
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Färber @ 2013-06-28 14:33 UTC (permalink / raw)
  To: Alexander Graf; +Cc: Alon Levy, qemu-devel, Juan Quintela

Am 28.06.2013 16:15, schrieb Alexander Graf:
> Commit 87d2f825 broke compilation of arch_init.c on 32bit hosts. Fix it.
> 
> Signed-off-by: Alexander Graf <agraf@suse.de>

Cf. http://patchwork.ozlabs.org/patch/255122/ :)

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] arch_init/ram_load: fix compilation on 32bit hosts
  2013-06-28 14:33 ` Andreas Färber
@ 2013-06-28 14:35   ` Alexander Graf
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Graf @ 2013-06-28 14:35 UTC (permalink / raw)
  To: Andreas Färber
  Cc: Stefan Weil, Alon Levy, qemu-devel qemu-devel, Juan Quintela


On 28.06.2013, at 16:33, Andreas Färber wrote:

> Am 28.06.2013 16:15, schrieb Alexander Graf:
>> Commit 87d2f825 broke compilation of arch_init.c on 32bit hosts. Fix it.
>> 
>> Signed-off-by: Alexander Graf <agraf@suse.de>
> 
> Cf. http://patchwork.ozlabs.org/patch/255122/ :)

Ah, nice. I'll drop my patch then and just apply this one to ppc-next for the time being.


Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-28 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 14:15 [Qemu-devel] [PATCH] arch_init/ram_load: fix compilation on 32bit hosts Alexander Graf
2013-06-28 14:33 ` Andreas Färber
2013-06-28 14:35   ` Alexander Graf

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.