mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] efi: payload: init: fix condition in warning message
@ 2025-03-28  8:35 Ahmad Fatoum
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2025-03-28  8:36 UTC | newest]

Thread overview: (only message) (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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox