All of lore.kernel.org
 help / color / mirror / Atom feed
From: "François Revol" <revol@free.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [RESENT][PATCH] ppc_oldworld: fix kernel_size and initrd_size sign
Date: Fri, 23 Jan 2009 20:40:12 +0100 CET	[thread overview]
Message-ID: <16985090626-BeMail@laptop> (raw)

Anyone care to apply ?

I feel a bit /ignore-d :)

François.

------ Forwarded Message: ------
To: qemu-devel@nongnu.org
From: "François Revol" <revol@free.fr>
Subject: [PATCH] ppc_oldworld: fix kernel_size and initrd_size sign
Date: Mon, 19 Jan 2009 04:55:09 +0100 CET

both variables are declared unsigned but checked for < 0 in various
places.
This ensures the fallbacks work.

François.

Signed-off-by: François Revol <revol@free.fr>
Index: hw/ppc_oldworld.c
===================================================================
--- hw/ppc_oldworld.c   (révision 6368)
+++ hw/ppc_oldworld.c   (copie de travail)
@@ -121,7 +121,8 @@
     m48t59_t *m48t59;
     int linux_boot, i;
     ram_addr_t ram_offset, vga_ram_offset, bios_offset,
vga_bios_offset;
-    uint32_t kernel_base, kernel_size, initrd_base, initrd_size;
+    uint32_t kernel_base, initrd_base;
+    int32_t kernel_size, initrd_size;
     PCIBus *pci_bus;
     MacIONVRAMState *nvr;
     int vga_bios_size, bios_size;

             reply	other threads:[~2009-01-23 19:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23 19:40 François Revol [this message]
2009-01-24 12:00 ` [Qemu-devel] [RESENT][PATCH] ppc_oldworld: fix kernel_size and initrd_size sign Blue Swirl
2009-01-24 12:29   ` François Revol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16985090626-BeMail@laptop \
    --to=revol@free.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.