From: Stefano Stabellini Date: Tue, 29 Oct 2013 00:37:37 +0000 (+0000) Subject: swiotlb-xen: fix error code returned by xen_swiotlb_map_sg_attrs X-Git-Tag: v3.13-rc1~81^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15177608c703e7b4aa29aa7c93b31001effe504c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed