From: "Laszlo Ersek" <lersek@redhat.com>
To: devel@edk2.groups.io, rebecca@bsdio.com
Cc: Philippe Mathieu-Daude <philmd@redhat.com>,
Jordan Justen <jordan.l.justen@intel.com>,
Ard Biesheuvel <ard.biesheuvel@arm.com>
Subject: Re: [edk2-devel] [PATCH v4 1/1] OvmfPkg: replace old EFI_D_ debug levels with new DEBUG_ ones
Date: Wed, 29 Apr 2020 22:49:34 +0200 [thread overview]
Message-ID: <90fb0512-4ec5-a3e5-055c-05ae8d9a4bb8@redhat.com> (raw)
In-Reply-To: <20200429153952.601446-1-rebecca@bsdio.com>
On 04/29/20 17:39, Rebecca Cran wrote:
> Generated mechanically with find/sed:
>
> find OvmfPkg -type f -exec sed -i -e 's/EFI_D_/DEBUG_/g' {} \;
>
> Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
> Acked-by: Laszlo Ersek <lersek@redhat.com>
[...]
> 64 files changed, 356 insertions(+), 356 deletions(-)
(1) The diffstat has changed relative to v1 (which Phil reviewed):
62 files changed, 335 insertions(+), 335 deletions(-)
I think due to handling "VERBOSE" too, between v3 and v4. I think that
change / extension invalidates the previous R-b from Phil (and my
dependent A-b), so those tags should have been dropped.
Either way, we have to re-review this version.
(2) The patch does not apply on top of current master; i.e., commit
b2034179e8fe (".gitmodules: ignore untracked files in brotli",
2020-04-29).
The git-am error this time is not due to newline issues; those have been
fixed, I think. (Thanks!) Instead,
$ git am --reject ...
produces the following output in the "OvmfPkg/PlatformPei/MemDetect.c.rej" file:
> diff a/OvmfPkg/PlatformPei/MemDetect.c b/OvmfPkg/PlatformPei/MemDetect.c (rejected hunks)
> @@ -389,7 +389,7 @@ GetFirstNonAddress (
> &FwCfgSize);
> if (!EFI_ERROR (Status)) {
> if (FwCfgSize >= sizeof MbString) {
> - DEBUG ((EFI_D_WARN,
> + DEBUG ((DEBUG_WARN,
> "%a: ignoring malformed 64-bit PCI host aperture size from fw_cfg\n",
> __FUNCTION__));
> } else {
which tells me that the patch has not been rebased on top of (at least)
commit 98800cce65c4 ("OvmfPkg/PlatformPei: parse "X-PciMmio64Mb" with
QemuFwCfgSimpleParserLib", 2020-04-28), which is the commit that changed
the context in question.
Knowing that, I guess I can apply the patch just before the series
containing 98800cce65c4 -- that is, on 64ab457d1f21 ("ReadMe: Convert to
rst and add Platform CI Status", 2020-04-28) -- and then rebase it
myself.
... The patch applies cleanly on 98800cce65c4, but the subsequent rebase
runs into the exact same conflict. (I'd have to fix it up manually.)
So I guess it's easier to just refresh this patch (please post v5) by
re-running the sed command on current master.
Thanks
Laszlo
prev parent reply other threads:[~2020-04-29 20:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-29 15:39 [PATCH v4 1/1] OvmfPkg: replace old EFI_D_ debug levels with new DEBUG_ ones Rebecca Cran
2020-04-29 20:49 ` Laszlo Ersek [this message]
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-list 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=90fb0512-4ec5-a3e5-055c-05ae8d9a4bb8@redhat.com \
--to=devel@edk2.groups.io \
/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