* [PATCH] bitmap: Fix a typo ("identify map")
@ 2022-11-01 16:12 Jonathan Neuschäfer
2022-11-11 12:18 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Neuschäfer @ 2022-11-01 16:12 UTC (permalink / raw)
To: Yury Norov
Cc: Jonathan Neuschäfer, Andy Shevchenko, Rasmus Villemoes,
linux-kernel
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>
---
lib/bitmap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 1c81413c51f86..b0f234bc1ce84 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.
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bitmap: Fix a typo ("identify map")
2022-11-01 16:12 [PATCH] bitmap: Fix a typo ("identify map") Jonathan Neuschäfer
@ 2022-11-11 12:18 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2022-11-11 12:18 UTC (permalink / raw)
To: Jonathan Neuschäfer; +Cc: Yury Norov, Rasmus Villemoes, linux-kernel
On Tue, Nov 01, 2022 at 05:12:07PM +0100, Jonathan Neuschäfer wrote:
> A map in which each element is mapped to itself is called an "identity
> map".
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> ---
> lib/bitmap.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/bitmap.c b/lib/bitmap.c
> index 1c81413c51f86..b0f234bc1ce84 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.
> --
> 2.35.1
>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-11 12:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-01 16:12 [PATCH] bitmap: Fix a typo ("identify map") Jonathan Neuschäfer
2022-11-11 12:18 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox