iommu/arm-smmu-v3: Fix l1 stream table size in the error message
authorZenghui Yu <yuzenghui@huawei.com>
Wed, 26 Aug 2020 14:17:58 +0000 (22:17 +0800)
committerWill Deacon <will@kernel.org>
Mon, 7 Sep 2020 13:12:31 +0000 (14:12 +0100)
commitdc898eb84b25c39ea46f28c48a169bdbd0e2c7e0
tree05ebc308b3129a88862c260fa5f85f58653f0c5d
parentf75aef392f869018f78cfedf3c320a6b3fcfda6b
iommu/arm-smmu-v3: Fix l1 stream table size in the error message

The actual size of level-1 stream table is l1size. This looks like an
oversight on commit d2e88e7c081ef ("iommu/arm-smmu: Fix LOG2SIZE setting
for 2-level stream tables") which forgot to update the @size in error
message as well.

As memory allocation failure is already bad enough, nothing worse would
happen. But let's be careful.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20200826141758.341-1-yuzenghui@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c