From: Jonathan Neuschäfer Date: Mon, 14 Aug 2023 17:37:08 +0000 (+0200) Subject: bitmap: Fix a typo ("identify map") X-Git-Tag: v6.7-rc1~88^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ed13a762ca0661e4df16ce5eba929e73f4bd8f6;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Andy Shevchenko Signed-off-by: Yury Norov --- diff --git a/lib/bitmap.c b/lib/bitmap.c index ddb31015e38ae..24284caadbcc6 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.