From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753877AbeAFRSe (ORCPT + 1 other); Sat, 6 Jan 2018 12:18:34 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37603 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753548AbeAFRSa (ORCPT ); Sat, 6 Jan 2018 12:18:30 -0500 X-Google-Smtp-Source: ACJfBoswkiizHx9nlLwYu4lPnMzfpqrWrCFRCleTa7QRMaOwJZgmCEtx8mX80oKLe+qk5EMGcRXr1w== From: Vincent Legoll To: akpm@linux-foundation.org, mingo@kernel.org, byungchul.park@lge.com, peterz@infradead.org, paulmck@linux.vnet.ibm.com, jpoimboe@redhat.com, geert@linux-m68k.org, rdunlap@infradead.org, mcgrof@kernel.org, npiggin@gmail.com, tglx@linutronix.de, linux-kernel@vger.kernel.org Cc: Vincent Legoll Subject: [PATCH] make RUNTIME_TESTS a menuconfig to ease disabling it all Date: Sat, 6 Jan 2018 18:18:11 +0100 Message-Id: <20180106171811.3624-2-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180106171811.3624-1-vincent.legoll@gmail.com> References: <20180106171811.3624-1-vincent.legoll@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: No need to get into the submenu to disable all related config entries. This makes it easier to disable all RUNTIME_TESTS config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not change the config dependencies. v2: added "default y" to avoid breaking existing configs Signed-off-by: Vincent Legoll --- lib/Kconfig.debug | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 9d5b78aad4c5..ef6db62a5deb 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1627,7 +1627,10 @@ config DMA_API_DEBUG If unsure, say N. -menu "Runtime Testing" +menuconfig RUNTIME_TESTING_MENU + bool "Runtime Testing" + +if RUNTIME_TESTING_MENU config LKDTM tristate "Linux Kernel Dump Test Tool Module" @@ -1915,7 +1918,7 @@ config TEST_DEBUG_VIRTUAL If unsure, say N. -endmenu # runtime tests +endif # RUNTIME_TESTING_MENU config MEMTEST bool "Memtest" -- 2.14.1