Re: [PATCH] iovec: move memcpy_from/toiovecend to lib/iovec.c

From: Nicholas A. Bellinger
Date: Fri Jun 20 2014 - 14:11:45 EST


On Thu, 2014-06-19 at 21:06 -0700, David Miller wrote:
> From: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
> Date: Thu, 19 Jun 2014 21:22:56 +0300
>
> > 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@xxxxxxxxxxxxx>
> > Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> > Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> > Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> > ---
> >
> > David, could you please ack merging this through
> > target-pending to avoid dependency issues?
>
> Yep, this looks fine:
>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

Applied to target-pending/queue, and will include in the next PULL
request.

Thanks folks.

--nab

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/