Skip to content
Commit 322a9bbb authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Will Deacon
Browse files

iommu/arm-smmu-v3: Fix resource_size check



This is an off-by-one mistake.

resource_size() returns res->end - res->start + 1.

Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 935d43ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment