Skip to content

Commit bd0b841

Browse files
committed
nvme: make NVME_RDMA depend on BLOCK
Commit aa71987 ("nvme: fabrics drivers don't need the nvme-pci driver") removed the dependency on BLK_DEV_NVME, but the cdoe does depend on the block layer (which used to be an implicit dependency through BLK_DEV_NVME). Otherwise you get various errors from the kbuild test robot random config testing when that happens to hit a configuration with BLOCK device support disabled. Cc: Christoph Hellwig <[email protected]> Cc: Jay Freyensee <[email protected]> Cc: Sagi Grimberg <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 2afe669 commit bd0b841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nvme/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ config NVME_FABRICS
3030

3131
config NVME_RDMA
3232
tristate "NVM Express over Fabrics RDMA host driver"
33-
depends on INFINIBAND
33+
depends on INFINIBAND && BLOCK
3434
select NVME_CORE
3535
select NVME_FABRICS
3636
select SG_POOL

0 commit comments

Comments
 (0)