diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-11-26 05:57:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-28 11:27:01 -0500 |
commit | bd97120fc3d1a11f3124c7c9ba1d91f51829eb85 (patch) | |
tree | 9b7dd4ce2b3a1be219f3b62098be892540765951 /drivers/spi/spi-fsl-spi.c | |
parent | c3b2c2581988d304127c2aa218430b5fca88ce56 (diff) | |
download | blackbird-op-linux-bd97120fc3d1a11f3124c7c9ba1d91f51829eb85.tar.gz blackbird-op-linux-bd97120fc3d1a11f3124c7c9ba1d91f51829eb85.zip |
vhost: fix length for cross region descriptor
If a single descriptor crosses a region, the
second chunk length should be decremented
by size translated so far, instead it includes
the full descriptor length.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
0 files changed, 0 insertions, 0 deletions