Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fe3fcac authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Adrian Bunk
Browse files

Correct explanations of "find_next" bit routines.



Correct the obvious "copy and paste" errors explaining some of the
"find_next" routines.

Signed-off-by: default avatarRobert P. J. Day <rpjday@mindspring.com>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent a247b5d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
#include <linux/module.h>

/**
 * find_next_bit - find the first set bit in a memory region
 * find_next_bit - find the next set bit in a memory region
 * @addr: The address to base the search on
 * @offset: The bitnumber to start searching at
 * @size: The maximum size to search
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ long find_first_zero_bit(const unsigned long * addr, unsigned long size)
}

/**
 * find_next_zero_bit - find the first zero bit in a memory region
 * find_next_zero_bit - find the next zero bit in a memory region
 * @addr: The address to base the search on
 * @offset: The bitnumber to start searching at
 * @size: The maximum size to search