Commit [ac5ccd]  Maximize  Restore  History

iovec: move memcpy_from/toiovecend to lib/iovec.c

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

commit 9f977ef7b671f6169eca78bf40f230fe84b7c7e5
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>

Michael S. Tsirkin Michael S. Tsirkin 2014-06-19

Nicholas Bellinger Nicholas Bellinger 2014-06-27

changed include/linux/socket.h
changed include/linux/uio.h
changed lib/iovec.c
changed net/core/iovec.c
include/linux/socket.h Diff Switch to side-by-side view
Loading...
include/linux/uio.h Diff Switch to side-by-side view
Loading...
lib/iovec.c Diff Switch to side-by-side view
Loading...
net/core/iovec.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks