[PATCH 2/2] block: efi: add commented out #define DEBUG 1
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue May 23 02:40:35 PDT 2023
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 at 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
More information about the barebox
mailing list