[PATCH] fixup! lib: add stackprotector support

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Sep 11 08:47:16 PDT 2023


lib: stackprotector: add prompt text to option

Kconfig rightfully complains about it:

  lib/Kconfig.hardening:66:warning: choice value must have a prompt

So add it.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 lib/Kconfig.hardening | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.hardening b/lib/Kconfig.hardening
index aad0d8b97024..a9d3af110958 100644
--- a/lib/Kconfig.hardening
+++ b/lib/Kconfig.hardening
@@ -64,7 +64,7 @@ choice
 	prompt "Stack Protector buffer overflow detection for PBL"
 
 config PBL_STACKPROTECTOR_NONE
-	bool
+	bool "None"
 
 config PBL_STACKPROTECTOR_STRONG
 	bool "Strong"
-- 
2.39.2




More information about the barebox mailing list