IB/ucm: Fix compiling ucm.c
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 14 Aug 2018 02:04:37 +0000 (20:04 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 14 Aug 2018 02:04:37 +0000 (20:04 -0600)
commit486edfb1039dc413c4806d11accdedc8a4aa573b
tree21fa6936039a863467c378bcfcd82196a5f4cc98
parent4ce719f846a4177f2631e4149503e3baf3dce87b
IB/ucm: Fix compiling ucm.c

Even though this interface is marked CONFIG_BROKEN we still expect it to
compile, at least until we delete it completely.

Also mark INFINIBAND_USER_ACCESS_UCM with COMPILE_TEST so these situations
can be detected.

Fixes: e7ff98aefc9e ("RDMA/cma: Constify path record, ib_cm_event, listen_id pointers")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/Kconfig
drivers/infiniband/core/ucm.c