From: Stefan Weil <sw@weilnetz.de>
To: Richard Henderson <rth@twiddle.net>
Cc: Blue Swirl <blauwirbel@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] tci: Fix type of tci_read_label
Date: Mon, 19 Nov 2012 22:29:26 +0100 [thread overview]
Message-ID: <50AAA4B6.506@weilnetz.de> (raw)
In-Reply-To: <1353357794-10212-1-git-send-email-rth@twiddle.net>
Am 19.11.2012 21:43, schrieb Richard Henderson:
> Fixes the pointer truncation that was occurring for branches.
>
> Cc: Stefan Weil<sw@weilnetz.de>
> Cc: Blue Swirl<blauwirbel@gmail.com>
> Signed-off-by: Richard Henderson<rth@twiddle.net>
> ---
> tci.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tci.c b/tci.c
> index 9c87c8e..54cf1d9 100644
> --- a/tci.c
> +++ b/tci.c
> @@ -338,9 +338,9 @@ static uint64_t tci_read_ri64(uint8_t **tb_ptr)
> }
> #endif
>
> -static target_ulong tci_read_label(uint8_t **tb_ptr)
> +static tcg_target_ulong tci_read_label(uint8_t **tb_ptr)
> {
> - target_ulong label = tci_read_i(tb_ptr);
> + tcg_target_ulong label = tci_read_i(tb_ptr);
> assert(label != 0);
> return label;
> }
>
Thanks for fixing this.
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Tested-by: Stefan Weil <sw@weilnetz.de>
next prev parent reply other threads:[~2012-11-19 21:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-19 20:43 [Qemu-devel] [PATCH] tci: Fix type of tci_read_label Richard Henderson
2012-11-19 21:29 ` Stefan Weil [this message]
2012-11-24 21:00 ` Blue Swirl
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=50AAA4B6.506@weilnetz.de \
--to=sw@weilnetz.de \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).