aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/siw/siw_cm.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2019-07-10 15:39:30 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-07-11 11:39:11 -0300
commitb45305d777f2f9209dae5a3b8249ca03166a4df3 (patch)
tree701942c764dd81778493e6edf00d9ec36167aba6 /drivers/infiniband/sw/siw/siw_cm.c
parentRDMA/siw: Add missing rtnl_lock around access to ifa (diff)
downloadlinux-dev-b45305d777f2f9209dae5a3b8249ca03166a4df3.tar.xz
linux-dev-b45305d777f2f9209dae5a3b8249ca03166a4df3.zip
rdma/siw: Add missing dependencies on LIBCRC32C and DMA_VIRT_OPS
If LIBCRC32C and DMA_VIRT_OPS are not enabled: drivers/infiniband/sw/siw/siw_main.o: In function `siw_newlink': siw_main.c:(.text+0x35c): undefined reference to `dma_virt_ops' drivers/infiniband/sw/siw/siw_qp_rx.o: In function `siw_csum_update': siw_qp_rx.c:(.text+0x16): undefined reference to `crc32c' Fix the first issue by adding a select of DMA_VIRT_OPS. Fix the second issue by replacing the unneeded dependency on CRYPTO_CRC32 by a dependency on LIBCRC32C. Reported-by: noreply@ellerman.id.au (first issue) Fixes: c0cf5bdde46c ("rdma/siw: addition to kernel build environment") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw/siw/siw_cm.c')
0 files changed, 0 insertions, 0 deletions