Skip to content

Commit

Permalink
Correct explanations of "find_next" bit routines.
Browse files Browse the repository at this point in the history
Correct the obvious "copy and paste" errors explaining some of the
"find_next" routines.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
  • Loading branch information
Robert P. J. Day authored and AdrianBunk committed Feb 3, 2008
1 parent a247b5d commit 4fe3fca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/x86/lib/bitops_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/lib/bitops_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4fe3fca

Please sign in to comment.