summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-10-11 11:01:21 +0300
committerJoerg Roedel <jroedel@suse.de>2023-10-16 10:38:35 +0300
commit058b4d9de86b3f77cd23fbd43a0f5ee4ea8e0aeb (patch)
tree02fdabe37f8c736144d27829613631ab2ff45fb7 /arch/powerpc
parenta8ca9fc9134c1a43e6d4db7ff59496bbd7075def (diff)
downloadlinux-058b4d9de86b3f77cd23fbd43a0f5ee4ea8e0aeb.tar.xz
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: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/06672b96-23fd-424c-8880-1626e7bf119c@moroto.mountain Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions