diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-14 04:04:37 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-14 04:04:37 +0200 |
commit | 486edfb1039dc413c4806d11accdedc8a4aa573b (patch) | |
tree | 21fa6936039a863467c378bcfcd82196a5f4cc98 /drivers/infiniband/Kconfig | |
parent | IB/uverbs: Do not check for device disassociation during ioctl (diff) | |
download | linux-486edfb1039dc413c4806d11accdedc8a4aa573b.tar.xz linux-486edfb1039dc413c4806d11accdedc8a4aa573b.zip |
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>
Diffstat (limited to 'drivers/infiniband/Kconfig')
-rw-r--r-- | drivers/infiniband/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index b03af54367c0..d160d2d1f3a3 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -37,7 +37,7 @@ config INFINIBAND_USER_ACCESS config INFINIBAND_USER_ACCESS_UCM bool "Userspace CM (UCM, DEPRECATED)" - depends on BROKEN + depends on BROKEN || COMPILE_TEST depends on INFINIBAND_USER_ACCESS help The UCM module has known security flaws, which no one is |