-
- Downloads
Hoist memcpy_fromiovec/memcpy_toiovec into lib/
ERROR: "memcpy_fromiovec" [drivers/vhost/vhost_scsi.ko] undefined! That function is only present with CONFIG_NET. Turns out that crypto/algif_skcipher.c also uses that outside net, but it actually needs sockets anyway. In addition, commit 6d4f0139 added CONFIG_NET dependency to CONFIG_VMCI for memcpy_toiovec, so hoist that function and revert that commit too. socket.h already includes uio.h, so no callers need updating; trying only broke things fo x86_64 randconfig (thanks Fengguang!). Reported-by:Randy Dunlap <rdunlap@infradead.org> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
Showing
- drivers/misc/vmw_vmci/Kconfig 1 addition, 1 deletiondrivers/misc/vmw_vmci/Kconfig
- drivers/misc/vmw_vmci/vmci_queue_pair.c 1 addition, 1 deletiondrivers/misc/vmw_vmci/vmci_queue_pair.c
- include/linux/socket.h 0 additions, 2 deletionsinclude/linux/socket.h
- include/linux/uio.h 3 additions, 0 deletionsinclude/linux/uio.h
- lib/Makefile 1 addition, 1 deletionlib/Makefile
- lib/iovec.c 53 additions, 0 deletionslib/iovec.c
- net/core/iovec.c 0 additions, 50 deletionsnet/core/iovec.c
Loading
Please register or sign in to comment