[PATCH tip/core/rcu 7/7] lib/Kconfig.debug: Fix typo in select statement

From: Paul E. McKenney
Date: Mon Aug 22 2016 - 11:45:33 EST


From: Valentin Rothberg <valentinrothberg@xxxxxxxxx>

Commit 484f29c7430b3 ("bug: Provide toggle for BUG on data corruption")
added a Kconfig select statement on CONFIG_DEBUG_LIST, but the CONFIG_
prefix is only used in Make and C(PP) syntax. Remove the CONFIG_ prefix
to correctly select the Kconfig option DEBUG_LIST.

Signed-off-by: Valentin Rothberg <valentinrothberg@xxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>
---
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 58d358a4c7f3..56f359e6c197 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1989,7 +1989,7 @@ config TEST_STATIC_KEYS

config BUG_ON_DATA_CORRUPTION
bool "Trigger a BUG when data corruption is detected"
- select CONFIG_DEBUG_LIST
+ select DEBUG_LIST
help
Select this option if the kernel should BUG when it encounters
data corruption in kernel memory structures when they get checked
--
2.5.2