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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230906081216.22849-1-jengelh@inai.de>
Date:   Wed,  6 Sep 2023 10:12:16 +0200
From:   Jan Engelhardt <jengelh@...i.de>
To:     o-takashi@...amocchi.jp
Cc:     linux1394-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: [PATCH] firewire: allow deactivating the IEEE1394 menuconfig section at once

Presently, one needs to enter "FireWire (IEEE 1394) 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/firewire/Kconfig | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/drivers/firewire/Kconfig b/drivers/firewire/Kconfig
index 0a6596b027db..be1a9e685782 100644
--- a/drivers/firewire/Kconfig
+++ b/drivers/firewire/Kconfig
@@ -1,8 +1,18 @@
 # SPDX-License-Identifier: GPL-2.0-only
-menu "IEEE 1394 (FireWire) support"
+menuconfig FIREWIRE_SUPPORT
+	bool "IEEE 1394 (FireWire) support"
+	default y
 	depends on PCI || COMPILE_TEST
 	# firewire-core does not depend on PCI but is
 	# not useful without PCI controller driver
+	help
+	  Support for FireWire.
+
+	  The answer to this question will not directly affect the
+	  kernel: saying N will just cause the configurator to skip all
+	  the questions about FireWire.
+
+if FIREWIRE_SUPPORT
 
 config FIREWIRE
 	tristate "FireWire driver stack"
@@ -96,4 +106,4 @@ config FIREWIRE_NOSY
 
 	  If unsure, say N.
 
-endmenu
+endif # FIREWIRE_SUPPORT
-- 
2.42.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ