Skip to content
Commit f12e0d22 authored by Keqian Zhu's avatar Keqian Zhu Committed by Will Deacon
Browse files

iommu: Defer the early return in arm_(v7s/lpae)_map



Although handling a mapping request with no permissions is a
trivial no-op, defer the early return until after the size/range
checks so that we are consistent with other mapping requests.

Signed-off-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
Link: https://lore.kernel.org/r/20201207115758.9400-1-zhukeqian1@huawei.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 093b32a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment