diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-02-12 10:48:45 -0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-02-16 11:04:53 +0000 |
commit | 114556c533acdaf4c2cdada245890572985b2912 (patch) | |
tree | 0befaaccf7e9d6f73a58186de0296e35b922f6ce /plugins | |
parent | ee1bf83de79143e5893f19e1aa657d1c37ba0c70 (diff) |
linux-user: Use guest_range_valid in access_ok
We're currently open-coding the range check in access_ok;
use guest_range_valid when size != 0.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210212184902.1251044-15-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions