]> git.baikalelectronics.ru Git - kernel.git/commit
iovec: move memcpy_from/toiovecend to lib/iovec.c
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 18:22:56 +0000 (21:22 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 27 Jun 2014 18:47:58 +0000 (11:47 -0700)
commit53a23facaaaaea44348fd68908df1831229effb8
treecbbec5559a3cb50e47c73494a9f256155a284efe
parent747f33815659d82bba3f6dbb86ea412ec246f1ce
iovec: move memcpy_from/toiovecend to lib/iovec.c

ERROR: "memcpy_fromiovecend" [drivers/vhost/vhost_scsi.ko] undefined!

commit 6fb60af8939e29e8452042ea828dffc1fd00ec99
    vhost-scsi: Include prot_bytes into expected data transfer length
in target-pending makes drivers/vhost/scsi.c call memcpy_fromiovecend().
This function is not available when CONFIG_NET is not enabled.

socket.h already includes uio.h, so no callers need updating.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
include/linux/socket.h
include/linux/uio.h
lib/iovec.c
net/core/iovec.c