summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommu.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-03-01 21:11:29 +0000
committerWill Deacon <will.deacon@arm.com>2017-04-06 16:06:43 +0100
commit67560edcd8e5c57eccec4df562abbfc21c17ad75 (patch)
tree6efa3bfb9db05e24c7ddeef5c0346e414c451ccc /drivers/iommu/iommu.c
parent61bc671179f19060be883068b6d3d82ae0b24bc0 (diff)
downloadlwn-67560edcd8e5c57eccec4df562abbfc21c17ad75.tar.gz
lwn-67560edcd8e5c57eccec4df562abbfc21c17ad75.zip
iommu/arm-smmu-v3: Make arm_smmu_install_ste_for_dev return void
arm_smmu_install_ste_for_dev cannot fail and always returns 0, however the fact that it returns int means that callers end up implementing redundant error handling code which complicates STE tracking and is never executed. This patch changes the return type of arm_smmu_install_ste_for_dev to void, to make it explicit that it cannot fail. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu/iommu.c')
0 files changed, 0 insertions, 0 deletions