]> Git Repo - J-linux.git/commitdiff
bitmap: Fix a typo ("identify map")
authorJonathan Neuschäfer <[email protected]>
Mon, 14 Aug 2023 17:37:08 +0000 (19:37 +0200)
committerYury Norov <[email protected]>
Sun, 15 Oct 2023 03:25:22 +0000 (20:25 -0700)
A map in which each element is mapped to itself is called an "identity
map".

Signed-off-by: Jonathan Neuschäfer <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Yury Norov <[email protected]>
lib/bitmap.c

index ddb31015e38ae23baf7b44b8aea0b5c53b3989aa..24284caadbcc690a1f31a26b38320f6d03750c09 100644 (file)
@@ -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.
@@ -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.
This page took 0.056321 seconds and 4 git commands to generate.