Skip to contentSkip to conversation

gcc-plugins: make GCC_PLUGIN_INITIFY_VERBOSE depend on !COMPILE_TEST

PATCH In review Arnd Bergmann 2 participants 2 messages Feb 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc-plugins: make GCC_PLUGIN_INITIFY_VERBOSE depend on !COMPILE_TEST

Just like GCC_PLUGIN_STRUCTLEAK_VERBOSE, we should make this one depend on !COMPILE_TEST, otherwise we get lots of unnecessary output for randconfig and possibly allmodconfig builds.

---
 arch/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/Kconfig +1 -0
index 48f395ed5207..b5eafefbe2bd 100644
@@ -453,6 +453,7 @@ config GCC_PLUGIN_INITIFY
 config GCC_PLUGIN_INITIFY_VERBOSE
 	bool "Report initification"
 	depends on GCC_PLUGIN_INITIFY
+	depends on !COMPILE_TEST
 	help
 	  Print all initified strings and all functions which should be
 	  __init/__exit.
Signature · 1 line
2.9.0
#1 lore raw
Quoted 5 lines · Arnd Bergmann

Just like GCC_PLUGIN_STRUCTLEAK_VERBOSE, we should make this one depend on !COMPILE_TEST, otherwise we get lots of unnecessary output for randconfig and possibly allmodconfig builds.

Thanks! And sorry, I thought I already had that. :P I'll add this to my tree.

-Kees

Quoted 19 lines
---
 arch/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/Kconfig +1 -1
index 48f395ed5207..b5eafefbe2bd 100644
@@ -453,6 +453,7 @@ config GCC_PLUGIN_INITIFY
 config GCC_PLUGIN_INITIFY_VERBOSE
        bool "Report initification"
        depends on GCC_PLUGIN_INITIFY
+       depends on !COMPILE_TEST
        help
          Print all initified strings and all functions which should be
          __init/__exit.
--

2.9.0

Signature · 2 lines
Kees Cook
Pixel Security