On Sun, 17 Feb 2019, H?kon Bugge wrote:
But while looking at the code, the for loop just below looks suspicious: for (got = 0; got < num_pages; got += ret) { as ret is uninitialized.
The first loop will initialize ret with the return of gup_longterm(). Thanks, Davidlohr