diff mbox series

rdma/siw: select CONFIG_DMA_VIRT_OPS

Message ID 20190712085253.3965945-1-arnd@arndb.de (mailing list archive)
State Superseded
Headers show
Series rdma/siw: select CONFIG_DMA_VIRT_OPS | expand

Commit Message

Arnd Bergmann July 12, 2019, 8:52 a.m. UTC
Without this symbol we get a link failure:

ERROR: "dma_virt_ops" [drivers/infiniband/sw/siw/siw.ko] undefined!

Fixes: bdcf26bf9b3a ("rdma/siw: network and RDMA core interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/infiniband/sw/siw/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bernard Metzler July 12, 2019, 11:36 a.m. UTC | #1
Hi Arnd, this got already fixed.

Many thanks!
Bernard.


-----"Arnd Bergmann" <arnd@arndb.de> wrote: -----

>To: "Bernard Metzler" <bmt@zurich.ibm.com>, "Doug Ledford"
><dledford@redhat.com>, "Jason Gunthorpe" <jgg@ziepe.ca>
>From: "Arnd Bergmann" <arnd@arndb.de>
>Date: 07/12/2019 10:53AM
>Cc: "Arnd Bergmann" <arnd@arndb.de>, "Jason Gunthorpe"
><jgg@mellanox.com>, linux-rdma@vger.kernel.org,
>linux-kernel@vger.kernel.org
>Subject: [EXTERNAL] [PATCH] rdma/siw: select CONFIG_DMA_VIRT_OPS
>
>Without this symbol we get a link failure:
>
>ERROR: "dma_virt_ops" [drivers/infiniband/sw/siw/siw.ko] undefined!
>
>Fixes: bdcf26bf9b3a ("rdma/siw: network and RDMA core interface")
>Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>---
> drivers/infiniband/sw/siw/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/infiniband/sw/siw/Kconfig
>b/drivers/infiniband/sw/siw/Kconfig
>index 94f684174ce3..ea282789f466 100644
>--- a/drivers/infiniband/sw/siw/Kconfig
>+++ b/drivers/infiniband/sw/siw/Kconfig
>@@ -1,6 +1,7 @@
> config RDMA_SIW
> 	tristate "Software RDMA over TCP/IP (iWARP) driver"
> 	depends on INET && INFINIBAND && CRYPTO_CRC32
>+	select DMA_VIRT_OPS
> 	help
> 	This driver implements the iWARP RDMA transport over
> 	the Linux TCP/IP network stack. It enables a system with a
>-- 
>2.20.0
>
>
diff mbox series

Patch

diff --git a/drivers/infiniband/sw/siw/Kconfig b/drivers/infiniband/sw/siw/Kconfig
index 94f684174ce3..ea282789f466 100644
--- a/drivers/infiniband/sw/siw/Kconfig
+++ b/drivers/infiniband/sw/siw/Kconfig
@@ -1,6 +1,7 @@ 
 config RDMA_SIW
 	tristate "Software RDMA over TCP/IP (iWARP) driver"
 	depends on INET && INFINIBAND && CRYPTO_CRC32
+	select DMA_VIRT_OPS
 	help
 	This driver implements the iWARP RDMA transport over
 	the Linux TCP/IP network stack. It enables a system with a