From: Nicholas Bellinger Date: Wed, 28 Jan 2015 21:10:51 +0000 (-0800) Subject: vhost/scsi: Change vhost_scsi_map_to_sgl to accept iov ptr + len X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~13^2~19 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4078b5face3c1e79ef6e2dd254af04a470ed2bc;p=pandora-kernel.git vhost/scsi: Change vhost_scsi_map_to_sgl to accept iov ptr + len This patch changes vhost_scsi_map_to_sgl() parameters to accept virtio iovec ptr + len when determing pages_nr. This is currently done with iov_num_pages() -> PAGE_ALIGN, so allow the same parameters as well. Cc: Michael S. Tsirkin Cc: Paolo Bonzini Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed