qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-6.0 v2 1/5] memory: Make flatview_cb return bool, not int


From: Richard Henderson
Subject: Re: [PATCH for-6.0 v2 1/5] memory: Make flatview_cb return bool, not int
Date: Thu, 18 Mar 2021 12:39:16 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/18/21 11:48 AM, Peter Maydell wrote:
The return value of the flatview_cb callback passed to the
flatview_for_each_range() function is zero if the iteration through
the ranges should continue, or non-zero to break out of it.  Use a
bool for this rather than int.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  include/exec/memory.h           | 6 +++---
  tests/qtest/fuzz/generic_fuzz.c | 8 ++++----
  2 files changed, 7 insertions(+), 7 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]