diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-10-29 00:37:37 (GMT) |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-10-29 00:37:37 (GMT) |
commit | 15177608c703e7b4aa29aa7c93b31001effe504c (patch) | |
tree | 2079dbb9b9298bf1e2d25473b182e4ca4dd46de5 /arch/m68k/atari/config.c | |
parent | 6b42a7eafb25ae9fda1708c501661384d1f60482 (diff) | |
download | linux-fsl-qoriq-15177608c703e7b4aa29aa7c93b31001effe504c.tar.xz |
swiotlb-xen: fix error code returned by xen_swiotlb_map_sg_attrs
map_sg returns the number of elements mapped, not a dma_addr_t.
In case of error return 0, not DMA_ERROR_CODE.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'arch/m68k/atari/config.c')
0 files changed, 0 insertions, 0 deletions