]> Git Repo - linux.git/blobdiff - lib/genalloc.c
Merge 5.17-rc6 into usb-next
[linux.git] / lib / genalloc.c
index 9a57257988c77b1bda15302c6c07cf327ce84ed9..00fc50d0a640e03bcd72bf382b2814397b90b897 100644 (file)
@@ -251,7 +251,7 @@ void gen_pool_destroy(struct gen_pool *pool)
                list_del(&chunk->next_chunk);
 
                end_bit = chunk_size(chunk) >> order;
-               bit = find_next_bit(chunk->bits, end_bit, 0);
+               bit = find_first_bit(chunk->bits, end_bit);
                BUG_ON(bit < end_bit);
 
                vfree(chunk);
This page took 0.028574 seconds and 4 git commands to generate.