mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Make "SCSI Transports" a menuconfig to ease disabling it all
@ 2017-07-02 15:53 Vincent Legoll
  2017-07-03 18:30 ` kbuild test robot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vincent Legoll @ 2017-07-02 15:53 UTC (permalink / raw)
  To: linux-kernel, jejb, martin.petersen, linux-scsi; +Cc: Vincent Legoll

No need to get into the submenu to disable all SCSI Transports-related
config entries

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 drivers/scsi/Kconfig | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 3c52867..53c97cc 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -251,9 +251,12 @@ config SCSI_SCAN_ASYNC
 	  Note that this setting also affects whether resuming from
 	  system suspend will be performed asynchronously.
 
-menu "SCSI Transports"
+menuconfig SCSI_TRANSPORTS
+	tristate "SCSI Transports"
 	depends on SCSI
 
+if SCSI_TRANSPORTS
+
 config SCSI_SPI_ATTRS
 	tristate "Parallel SCSI (SPI) Transport Attributes"
 	depends on SCSI
@@ -297,7 +300,7 @@ config SCSI_SRP_ATTRS
 	  If you wish to export transport-specific information about
 	  each attached SRP device to sysfs, say Y.
 
-endmenu
+endif # SCSI_TRANSPORTS
 
 menuconfig SCSI_LOWLEVEL
 	bool "SCSI low-level drivers"
-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-04 10:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-02 15:53 [PATCH] Make "SCSI Transports" a menuconfig to ease disabling it all Vincent Legoll
2017-07-03 18:30 ` kbuild test robot
2017-07-03 18:39 ` kbuild test robot
2017-07-04 10:53 ` Vincent Legoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®