From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Laszlo Ersek <lersek@redhat.com>, qemu-devel@nongnu.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <richard.henderson@linaro.org>,
Eduardo Habkost <eduardo@habkost.net>,
qemu-trivial@nongnu.org
Subject: Re: [PATCH v2] hw/i386/pc: fix code comment on cumulative flash size
Date: Tue, 12 Sep 2023 18:40:59 +0200 [thread overview]
Message-ID: <47336aed-d6e9-a844-d7ee-1f8944cbb882@linaro.org> (raw)
In-Reply-To: <20230912155553.82514-1-lersek@redhat.com>
On 12/9/23 17:55, Laszlo Ersek wrote:
> - The comment is incorrectly indented / formatted.
>
> - The comment states a 8MB limit, even though the code enforces a 16MB
> limit.
>
> Both of these warts come from commit 0657c657eb37 ("hw/i386/pc: add max
> combined fw size as machine configuration option", 2020-12-09); clean them
> up.
>
> Arguably, it's also better to be consistent with the binary units (such as
> "MiB") that QEMU uses nowadays.
>
> Cc: "Michael S. Tsirkin" <mst@redhat.com> (supporter:PC)
> Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> (supporter:PC)
> Cc: Paolo Bonzini <pbonzini@redhat.com> (maintainer:X86 TCG CPUs)
> Cc: Richard Henderson <richard.henderson@linaro.org> (maintainer:X86 TCG CPUs)
> Cc: Eduardo Habkost <eduardo@habkost.net> (maintainer:X86 TCG CPUs)
> Cc: qemu-trivial@nongnu.org
> Fixes: 0657c657eb37
> Signed-off-by: Laszlo Ersek <lersek@redhat.com>
> ---
>
> Notes:
> v2:
>
> - use the binary units MiB, KiB, GiB comprehensively in the comment
I was going to suggest that ;)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>
> hw/i386/pc.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
next prev parent reply other threads:[~2023-09-12 16:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-12 15:55 [PATCH v2] hw/i386/pc: fix code comment on cumulative flash size Laszlo Ersek
2023-09-12 16:40 ` Philippe Mathieu-Daudé [this message]
2023-09-13 11:02 ` Laszlo Ersek
2023-09-12 17:30 ` Michael Tokarev
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=47336aed-d6e9-a844-d7ee-1f8944cbb882@linaro.org \
--to=philmd@linaro.org \
--cc=eduardo@habkost.net \
--cc=lersek@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=richard.henderson@linaro.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).