From: Vincent Legoll <vincent.legoll@gmail.com>
To: linux-kernel@vger.kernel.org, jejb@linux.vnet.ibm.com,
martin.petersen@oracle.com, linux-scsi@vger.kernel.org
Cc: Vincent Legoll <vincent.legoll@gmail.com>
Subject: [PATCH] Make "SCSI Transports" a menuconfig to ease disabling it all
Date: Sun, 2 Jul 2017 17:53:55 +0200 [thread overview]
Message-ID: <1499010835-6858-1-git-send-email-vincent.legoll@gmail.com> (raw)
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
next reply other threads:[~2017-07-02 15:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-02 15:53 Vincent Legoll [this message]
2017-07-03 18:30 ` kbuild test robot
2017-07-03 18:39 ` kbuild test robot
2017-07-04 10:53 ` Vincent Legoll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1499010835-6858-1-git-send-email-vincent.legoll@gmail.com \
--to=vincent.legoll@gmail.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®