Thread (6 messages) 6 messages, 4 authors, 2013-03-18

Re: [PATCHv3 vringh] caif_virtio: Introduce caif over virtio

From: Rusty Russell <hidden>
Date: 2013-03-18 03:46:17
Also in: virtualization
Subsystem: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Erwan Yvin [off-list ref] writes:
From: Erwan Yvin <redacted>

Add the CAIF Virtio shared memory driver for talking
to a modem.
I've added a minor build fix:

caif_virtio: fix compilation

ERROR: "gen_pool_add_virt" [drivers/net/caif/caif_virtio.ko] undefined!
ERROR: "gen_pool_create" [drivers/net/caif/caif_virtio.ko] undefined!
ERROR: "gen_pool_destroy" [drivers/net/caif/caif_virtio.ko] undefined!
ERROR: "gen_pool_free" [drivers/net/caif/caif_virtio.ko] undefined!
ERROR: "gen_pool_alloc" [drivers/net/caif/caif_virtio.ko] undefined!

Signed-off-by: Rusty Russell <redacted>
diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig
index 676cfff..893f915 100644
--- a/drivers/net/caif/Kconfig
+++ b/drivers/net/caif/Kconfig
@@ -53,6 +53,7 @@ config CAIF_VIRTIO
 	depends on CAIF
 	select VHOST_RING
 	select VIRTIO
+	select GENERIC_ALLOCATOR
 	default n
 	---help---
 	The caif driver for CAIF over Virtio.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help