Hi, On Wed, May 23, 2018 at 6:27 AM, Raju P L S S S N <rpls...@codeaurora.org> wrote: >>> + break; >> >> >> "break" seems wrong here. You'll end up waiting for the completion, >> then I guess timing out, then returning -ETIMEDOUT? > > > As the loop above break runs for remaining count, completion will be > notified so there will not be waiting.
Ah, I see. I missed that. ...oh, I guess you need to wait because any requests you might have made will try to signal your completion which is on the stack...