lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed,  6 Sep 2023 10:11:40 +0200
From:   Jan Engelhardt <jengelh@...i.de>
To:     kbusch@...nel.org
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] nvme: allow deactivating the NVME menuconfig section at once

Presently, one needs to enter "NVME subsystem --->", then deselect all options
individually. Speed up that process by making the "--->" line be togglable in
its own right.

Signed-off-by: Jan Engelhardt <jengelh@...i.de>
---
 drivers/nvme/Kconfig | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/drivers/nvme/Kconfig b/drivers/nvme/Kconfig
index 656e46d938da..58452973ac7a 100644
--- a/drivers/nvme/Kconfig
+++ b/drivers/nvme/Kconfig
@@ -1,8 +1,18 @@
 # SPDX-License-Identifier: GPL-2.0-only
-menu "NVME Support"
+menuconfig NVME_SUPPORT
+	bool "NVME Support"
+	default y
+	help
+	  Support for Non-Volatile Memory Express.
+
+	  The answer to this question will not directly affect the
+	  kernel: saying N will just cause the configurator to skip all
+	  the questions about NVME.
+
+if NVME_SUPPORT
 
 source "drivers/nvme/common/Kconfig"
 source "drivers/nvme/host/Kconfig"
 source "drivers/nvme/target/Kconfig"
 
-endmenu
+endif
-- 
2.42.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ