diff options
author | Arnd Bergmann | 2018-08-21 16:20:44 +0200 |
---|---|---|
committer | Jason Gunthorpe | 2018-08-21 16:56:32 -0600 |
commit | 845b397a7771f2d3504beff5521f452be0d22eec (patch) | |
tree | b8492d61f3e122d20d5beaf336593d4dce290636 /include | |
parent | c513de490f808d8480346f9a58e6a4a5f3de12e7 (diff) |
IB/ucm: fix UCM link error
Building UCM with CONFIG_INFINIBAND_USER_ACCESS=m results in a
set of link errors including:
drivers/infiniband/core/ucm.o: In function `ib_ucm_event_handler':
ucm.c:(.text+0x6dc): undefined reference to `ib_copy_path_rec_to_user'
drivers/infiniband/core/ucma.o: In function `ucma_event_handler':
ucma.c:(.text+0xdc0): undefined reference to `ib_copy_ah_attr_to_user'
To get it to build-test again, this makes the option itself a
tristate, which lets Kconfig figure out the dependency correctly.
Fixes: 486edfb1039d ("IB/ucm: Fix compiling ucm.c")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions