From: Richard Henderson <richard.henderson@linaro.org>
To: "Ivan A. Melnikov" <iv@altlinux.org>,
"Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel@nongnu.org, Laurent Vivier <laurent@vivier.eu>
Subject: Re: [PATCH] linux-user: Adjust pgd_find_hole_fallback result with guest_loaddr
Date: Fri, 5 Mar 2021 07:39:56 -0800 [thread overview]
Message-ID: <40afa5f1-667c-9db6-fcce-016b3c27cdc2@linaro.org> (raw)
In-Reply-To: <20210305150603.5dgwt27l6agqtacn@titan.localdomain>
On 3/5/21 7:06 AM, Ivan A. Melnikov wrote:
> Especially since, as far
> as I remeber, comparing unsigned value with -1 (which is int)
> is UB.
It is certainly not undefined behaviour. The defined behaviour is to promote
to the common type, which will do exactly what we want.
r~
next prev parent reply other threads:[~2021-03-05 15:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-03 9:49 [PATCH] linux-user: Adjust pgd_find_hole_fallback result with guest_loaddr Ivan A. Melnikov
2021-03-05 14:03 ` Alex Bennée
2021-03-05 15:06 ` Ivan A. Melnikov
2021-03-05 15:39 ` Richard Henderson [this message]
2021-03-06 9:33 ` [PATCH v2] " Ivan A. Melnikov
2021-03-09 21:49 ` Laurent Vivier
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=40afa5f1-667c-9db6-fcce-016b3c27cdc2@linaro.org \
--to=richard.henderson@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=iv@altlinux.org \
--cc=laurent@vivier.eu \
--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).