diff options
author | 2022-03-23 09:59:26 +0100 | |
---|---|---|
committer | 2022-03-23 09:59:26 +0100 | |
commit | 412370414c3c7cfe504e2af1d8c98d7a912e6c9a (patch) | |
tree | 0387b3a65ee385f18a0705f6db59f9768d413336 /lib/genalloc.c | |
parent | Merge branch 'for-5.18/amd-sfh' into for-linus (diff) | |
parent | HID: apple: properly reflect LEDS dependency (diff) | |
download | wireguard-linux-412370414c3c7cfe504e2af1d8c98d7a912e6c9a.tar.xz wireguard-linux-412370414c3c7cfe504e2af1d8c98d7a912e6c9a.zip |
Merge branch 'for-5.18/apple' into for-linus
- Apple magic keyboard support improvements for newer models (José Expósito)
- Apple T2 Macs support improvements (Aun-Ali Zaidi, Paul Pawlowski)
Diffstat (limited to 'lib/genalloc.c')
-rw-r--r-- | lib/genalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/genalloc.c b/lib/genalloc.c index 9a57257988c7..00fc50d0a640 100644 --- 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); |