Skip to content
Commit 058b4d9d authored by Dan Carpenter's avatar Dan Carpenter Committed by Joerg Roedel
Browse files

iommu: change iommu_map_sgtable to return signed values



The iommu_map_sgtable() function returns ssize_t and negative error
codes but it's declared as size_t instead.  I think that static checkers
would have complained if this caused a bug, but even though it doesn't
cause a bug, it's definitely worth fixing.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/06672b96-23fd-424c-8880-1626e7bf119c@moroto.mountain


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent a8ca9fc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment