9p: restrict RDMA usage

linux-next:

Make 9p's RDMA option depend on INET since it uses Infiniband rdma_*
functions and that code depends on INET. Otherwise 9p can try to
use symbols which don't exist.

ERROR: "rdma_destroy_id" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_connect" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_create_id" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_create_qp" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_resolve_route" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_disconnect" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_resolve_addr" [net/9p/9pnet_rdma.ko] undefined!

I used an if/endif block so that the menu items would remain
presented together.

Also correct an article adjective.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

authored by Randy Dunlap and committed by Eric Van Hensbergen 4ff429e6 58e20d8d

+6 -4
+6 -4
net/9p/Kconfig
··· 13 13 14 14 If unsure, say N. 15 15 16 + if NET_9P 17 + 16 18 config NET_9P_VIRTIO 17 - depends on NET_9P && EXPERIMENTAL && VIRTIO 19 + depends on EXPERIMENTAL && VIRTIO 18 20 tristate "9P Virtio Transport (Experimental)" 19 21 help 20 22 This builds support for a transports between 21 23 guest partitions and a host partition. 22 24 23 25 config NET_9P_RDMA 24 - depends on NET_9P && INFINIBAND && EXPERIMENTAL 26 + depends on INET && INFINIBAND && EXPERIMENTAL 25 27 tristate "9P RDMA Transport (Experimental)" 26 28 help 27 - This builds support for a RDMA transport. 29 + This builds support for an RDMA transport. 28 30 29 31 config NET_9P_DEBUG 30 32 bool "Debug information" 31 - depends on NET_9P 32 33 help 33 34 Say Y if you want the 9P subsystem to log debug information. 34 35 36 + endif