From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 2/2] block: efi: add commented out #define DEBUG 1
Date: Tue, 23 May 2023 11:40:35 +0200 [thread overview]
Message-ID: <20230523094035.3452447-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20230523094035.3452447-1-a.fatoum@pengutronix.de>
The code uses __is_defined, which only works for undefined macros and
defined ones with a value. This is different than the debugging prints
that accept empty defined DEBUG, so add a commented out #define DEBUG 1
to alert those seeking to debug the code.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
drivers/block/efi-block-io.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/block/efi-block-io.c b/drivers/block/efi-block-io.c
index eb4981e86298..668eac9d75f0 100644
--- a/drivers/block/efi-block-io.c
+++ b/drivers/block/efi-block-io.c
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
+
+// #define DEBUG 1
#include <common.h>
#include <driver.h>
#include <init.h>
--
2.39.2
next prev parent reply other threads:[~2023-05-23 9:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-23 9:40 [PATCH 1/2] efi: payload: iomem: " Ahmad Fatoum
2023-05-23 9:40 ` Ahmad Fatoum [this message]
2023-05-30 12:31 ` Sascha Hauer
2023-05-30 12:38 ` Sascha Hauer
2023-05-30 15:38 ` Masahiro Yamada
2023-05-31 7:27 ` Sascha Hauer
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=20230523094035.3452447-2-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.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