diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2023-08-14 19:37:08 +0200 |
---|---|---|
committer | Yury Norov <yury.norov@gmail.com> | 2023-10-15 05:25:22 +0200 |
commit | 8ed13a762ca0661e4df16ce5eba929e73f4bd8f6 (patch) | |
tree | c1ae18fd3f0231c357fc27e43ac0a809635a8b43 /lib | |
parent | cpumask: kernel-doc cleanups and additions (diff) | |
download | linux-8ed13a762ca0661e4df16ce5eba929e73f4bd8f6.tar.xz linux-8ed13a762ca0661e4df16ce5eba929e73f4bd8f6.zip |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bitmap.c b/lib/bitmap.c index ddb31015e38a..24284caadbcc 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c @@ -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. |