projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 's390-6.1-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[platform/kernel/linux-starfive.git]
/
lib
/
genalloc.c
diff --git
a/lib/genalloc.c
b/lib/genalloc.c
index
9a57257
..
00fc50d
100644
(file)
--- a/
lib/genalloc.c
+++ b/
lib/genalloc.c
@@
-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);