Skip to content

Commit 8ed13a7

Browse files
neuschaeferYuryNorov
authored andcommitted
bitmap: Fix a typo ("identify map")
A map in which each element is mapped to itself is called an "identity map". Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Yury Norov <yury.norov@gmail.com>
1 parent 57f728d commit 8ed13a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bitmap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigne
988988
* to @dst.
989989
*
990990
* The positions of unset bits in @old are mapped to themselves
991-
* (the identify map).
991+
* (the identity map).
992992
*
993993
* Apply the above specified mapping to @src, placing the result in
994994
* @dst, clearing any bits previously set in @dst.
@@ -1037,7 +1037,7 @@ EXPORT_SYMBOL(bitmap_remap);
10371037
* the position of the m-th set bit in @new, where m == n % w.
10381038
*
10391039
* The positions of unset bits in @old are mapped to themselves
1040-
* (the identify map).
1040+
* (the identity map).
10411041
*
10421042
* Apply the above specified mapping to bit position @oldbit, returning
10431043
* the new bit position.

0 commit comments

Comments
 (0)