mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
iommu: arm-smmu: Handle return of iommu_device_register.
iommu_device_register returns an error code and, although it currently never fails, we should check its return value anyway. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> [will: adjusted to follow arm-smmu.c] Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
parent
ebdd13c93f
commit
5c2d021829
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue