Re: [igt-dev] [PATCH i-g-t] tests/i915/gen_mmap: fix no-op loops

Chris Wilson
2019-05-07T14:32:06Z

Quoting Simon Ser (2019-05-07 13:44:41)
> The loop condition is never satisfied, since after filling the array i > 0. For
> this reason the loop is always a no-op.
>
> Use a more conventional loop instead.

Or a classic while loop? Bad me for not reading the check was
back-to-front.
-Chris