* [PATCH] efi: payload: init: fix condition in warning message
@ 2025-03-28 8:35 Ahmad Fatoum
2025-03-31 7:03 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-03-28 8:35 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
The warning is supposed to point out a missing CONFIG_FS_EFI as possible
issue, but the condition was inverted, so it suggested enabling it when
it already was.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
efi/payload/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/payload/init.c b/efi/payload/init.c
index 35cd8fc71661..3d9717b82540 100644
--- a/efi/payload/init.c
+++ b/efi/payload/init.c
@@ -371,7 +371,7 @@ static int efi_late_init(void)
if (!get_mounted_path("/boot")) {
pr_warn("boot device couldn't be determined%s\n",
- IS_ENABLED(CONFIG_FS_EFI) ? " without CONFIG_FS_EFI" : "");
+ IS_ENABLED(CONFIG_FS_EFI) ? "" : " without CONFIG_FS_EFI");
return 0;
}
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-31 7:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-28 8:35 [PATCH] efi: payload: init: fix condition in warning message Ahmad Fatoum
2025-03-31 7:03 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox