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: NRobin Murphy <robin.murphy@arm.com> Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: NWill Deacon <will@kernel.org>
Showing
想要评论请 注册 或 登录