diff mbox series

target/loop: depend on SCSI

Message ID 20180807074222.22972-1-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series target/loop: depend on SCSI | expand

Commit Message

Christoph Hellwig Aug. 7, 2018, 7:42 a.m. UTC
The target loopback driver is a low-level driver for the SCSI subsystem,
and as such needs to depend on it.

Fixes: 8a39a047 ("target: don't depend on SCSI")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/target/loopback/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Jens Axboe Aug. 7, 2018, 1:57 p.m. UTC | #1
On 8/7/18 1:42 AM, Christoph Hellwig wrote:
> The target loopback driver is a low-level driver for the SCSI subsystem,
> and as such needs to depend on it.

Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/target/loopback/Kconfig b/drivers/target/loopback/Kconfig
index abe8ecbcdf06..158ee9d522f7 100644
--- a/drivers/target/loopback/Kconfig
+++ b/drivers/target/loopback/Kconfig
@@ -1,5 +1,6 @@ 
 config LOOPBACK_TARGET
 	tristate "TCM Virtual SAS target and Linux/SCSI LDD fabric loopback module"
+	depends on SCSI
 	help
 	  Say Y here to enable the TCM Virtual SAS target and Linux/SCSI LLD
 	  fabric loopback module.