nvme: make NVME_RDMA depend on BLOCK
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 Sep 2016 21:41:49 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 Sep 2016 21:41:49 +0000 (14:41 -0700)
commitbd0b841fee49de421f615cc173ccff063303672f
tree0cdea10cb81bf3f5e7e1f68a74ff629260903caa
parent2afe669acdcea66d95b94bbcdc1412210ea218d6
nvme: make NVME_RDMA depend on BLOCK

Commit aa71987472a9 ("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 <hch@lst.de>
Cc: Jay Freyensee <james_p_freyensee@linux.intel.com>
Cc: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/nvme/host/Kconfig