lib/find_bit: Fix the code comments about find_next_bit_wrap
authorGuanjun <guanjun@linux.alibaba.com>
Mon, 27 Nov 2023 08:31:27 +0000 (16:31 +0800)
committerYury Norov <yury.norov@gmail.com>
Sun, 3 Dec 2023 18:28:16 +0000 (10:28 -0800)
The function find_next_bit_wrap only has one memory region
to search on. Adjust the comments.

Signed-off-by: Guanjun <guanjun@linux.alibaba.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
include/linux/find.h

index 5e4f39ef2e72cc00b5924f048d60394e6e579313..af63ae5b90137ab3d1d11d6369babe95800a8ddb 100644 (file)
@@ -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
- * @addr: The first address to base the search on
+ * find_next_bit_wrap - find the next set bit in a memory region
+ * @addr: The address to base the search on
  * @size: The bitmap size in bits
  * @offset: The bitnumber to start searching at
  *