From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752226AbeAFRY4 (ORCPT + 1 other); Sat, 6 Jan 2018 12:24:56 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:34833 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750837AbeAFRYp (ORCPT ); Sat, 6 Jan 2018 12:24:45 -0500 X-Google-Smtp-Source: ACJfBot4LRwSUxvT3wFF5UFc894unRez+rJQKhPuqr2VePw9GrYUnqD74DNdIDdb+1kCuJ075RQ/qQ== 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:24:29 +0100 Message-Id: <20180106172429.3771-2-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180106172429.3771-1-vincent.legoll@gmail.com> References: <20180106171811.3624-2-vincent.legoll@gmail.com> <20180106172429.3771-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 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 9d5b78aad4c5..732f7b09ad6f 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1627,7 +1627,11 @@ config DMA_API_DEBUG If unsure, say N. -menu "Runtime Testing" +menuconfig RUNTIME_TESTING_MENU + bool "Runtime Testing" + default y + +if RUNTIME_TESTING_MENU config LKDTM tristate "Linux Kernel Dump Test Tool Module" @@ -1915,7 +1919,7 @@ config TEST_DEBUG_VIRTUAL If unsure, say N. -endmenu # runtime tests +endif # RUNTIME_TESTING_MENU config MEMTEST bool "Memtest" -- 2.14.1