From: Kevin Wolf <kwolf@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Patch mismerge (was: [PATCH] multiboot: Use signed type for negative error numbers)
Date: Fri, 04 Dec 2009 10:54:53 +0100 [thread overview]
Message-ID: <4B18DC6D.1050100@redhat.com> (raw)
In-Reply-To: <1258542921-776-1-git-send-email-kwolf@redhat.com>
Hi Anthony,
the description of this patch made it into commit 5f370b1, but the
content of this commit is obviously nonsense (adds only an empty line).
It's still uint32_t in current master. Can you take the patch into your
queue once again? It should still apply cleanly.
Kevin
Am 18.11.2009 12:15, schrieb Kevin Wolf:
> In mb_mod_length a return value is stored that is negative in error case. With
> an unsigned type the check goes wrong.
>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> hw/pc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hw/pc.c b/hw/pc.c
> index 7c791c4..cb3b6c9 100644
> --- a/hw/pc.c
> +++ b/hw/pc.c
> @@ -619,7 +619,7 @@ static int load_multiboot(void *fw_cfg,
> uint32_t mb_mod_info = 0x100;
> uint32_t mb_mod_cmdline = 0x300;
> uint32_t mb_mod_start = mh_load_addr;
> - uint32_t mb_mod_length = mb_kernel_size;
> + int mb_mod_length = mb_kernel_size;
> char *next_initrd;
> char *next_space;
> int mb_mod_count = 0;
next prev parent reply other threads:[~2009-12-04 9:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 11:15 [Qemu-devel] [PATCH] multiboot: Use signed type for negative error numbers Kevin Wolf
2009-12-04 9:54 ` Kevin Wolf [this message]
2009-12-04 10:11 ` [Qemu-devel] Patch mismerge Kevin Wolf
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=4B18DC6D.1050100@redhat.com \
--to=kwolf@redhat.com \
--cc=aliguori@us.ibm.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).