iommu/arm-smmu: Handle unknown CERROR values gracefully
authorWill Deacon <will.deacon@arm.com>
Fri, 4 Dec 2015 12:00:29 +0000 (12:00 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 17 Dec 2015 12:05:33 +0000 (12:05 +0000)
commita0d5c04c6053d8c47cca37384ae472f6b2ee0dee
treee5ed0c581db4fda58fc3129c8869e01919e985f7
parent9a4a9d8c34bc0b0102e8a9dd67ee3910b0bfaeb4
iommu/arm-smmu: Handle unknown CERROR values gracefully

Whilst the architecture only defines a few of the possible CERROR values,
we should handle unknown values gracefully rather than go out of bounds
trying to print out an error description.

Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c