summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuanjun <guanjun@linux.alibaba.com>2023-11-27 16:31:27 +0800
committerYury Norov <yury.norov@gmail.com>2023-12-03 10:28:16 -0800
commit92697139b01339b6c0767fa1305a4df9a7c1f37f (patch)
treedf10eb4ced1bb5eae14270925943a1cddc976bb4
parent33cc938e65a98f1d29d0a18403dbbee050dcad9a (diff)
downloadlinux-92697139b01339b6c0767fa1305a4df9a7c1f37f.tar.gz
linux-92697139b01339b6c0767fa1305a4df9a7c1f37f.tar.xz
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: Guanjun <guanjun@linux.alibaba.com> Signed-off-by: Yury Norov <yury.norov@gmail.com>
-rw-r--r--include/linux/find.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/find.h b/include/linux/find.h
index 5e4f39ef2e72..af63ae5b9013 100644
--- a/include/linux/find.h
+++ b/include/linux/find.h
@@ -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
*