Commit 92697139 authored by Guanjun's avatar Guanjun Committed by Yury Norov

lib/find_bit: Fix the code comments about find_next_bit_wrap

The function find_next_bit_wrap only has one memory region
to search on. Adjust the comments.
Signed-off-by: default avatarGuanjun <guanjun@linux.alibaba.com>
Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
parent 33cc938e
...@@ -413,8 +413,8 @@ unsigned long find_next_and_bit_wrap(const unsigned long *addr1, ...@@ -413,8 +413,8 @@ unsigned long find_next_and_bit_wrap(const unsigned long *addr1,
} }
/** /**
* find_next_bit_wrap - find the next set bit in both memory regions * find_next_bit_wrap - find the next set bit in a memory region
* @addr: The first address to base the search on * @addr: The address to base the search on
* @size: The bitmap size in bits * @size: The bitmap size in bits
* @offset: The bitnumber to start searching at * @offset: The bitnumber to start searching at
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment