Skip to content

Commit

Permalink
bitmap: Fix a typo ("identify map")
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
neuschaefer authored and YuryNorov committed Oct 15, 2023
1 parent 57f728d commit 8ed13a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigne
* to @dst.
*
* The positions of unset bits in @old are mapped to themselves
* (the identify map).
* (the identity map).
*
* Apply the above specified mapping to @src, placing the result in
* @dst, clearing any bits previously set in @dst.
Expand Down Expand Up @@ -1037,7 +1037,7 @@ EXPORT_SYMBOL(bitmap_remap);
* the position of the m-th set bit in @new, where m == n % w.
*
* The positions of unset bits in @old are mapped to themselves
* (the identify map).
* (the identity map).
*
* Apply the above specified mapping to bit position @oldbit, returning
* the new bit position.
Expand Down

0 comments on commit 8ed13a7

Please sign in to comment.