diff options
author | LIU Zhiwei <zhiwei_liu@linux.alibaba.com> | 2023-07-29 11:16:18 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-09-11 11:45:54 +1000 |
commit | 4cc9f284d5971ecd8055d26ef74c23ef0be8b8f5 (patch) | |
tree | 838c7d6b53855165e5b64d274b58b05b5e5f8f16 /crypto | |
parent | 03d7bbfd04c2a68f6339adede99ceae10800dc91 (diff) |
target/riscv: Fix page_check_range use in fault-only-first
Commit bef6f008b98(accel/tcg: Return bool from page_check_range) converts
integer return value to bool type. However, it wrongly converted the use
of the API in riscv fault-only-first, where page_check_range < = 0, should
be converted to !page_check_range.
Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20230729031618.821-1-zhiwei_liu@linux.alibaba.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions