On Thu, Sep 2, 2021 at 2:53 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > > + int ret = 1; .. > + ret = 0; > + break; .. > + ret = 0; > + break; .. > + return ret; Hmm. I think "ret" is unnecessary, and this could just have been return addr == end; at the end to check that we did it all. No? Linus