qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v18 05/10] xbitmap: add more operations


From: Matthew Wilcox
Subject: Re: [Qemu-devel] [PATCH v18 05/10] xbitmap: add more operations
Date: Fri, 1 Dec 2017 06:13:07 -0800
User-agent: Mutt/1.9.1 (2017-09-22)

On Fri, Dec 01, 2017 at 10:02:01PM +0900, Tetsuo Handa wrote:
> If start == end is legal,
> 
>    for (; start < end; start = (start | (IDA_BITMAP_BITS - 1)) + 1) {
> 
> makes this loop do nothing because 10 < 10 is false.

... and this is why we add tests to the test-suite!



reply via email to

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