2020-06-04 09:55:27

by Jeongtae Park

[permalink] [raw]
Subject: [PATCH] mm/vmalloc: fix a typo in comment

There is a typo in comment, fix it.
"nother" -> "another"

Signed-off-by: Jeongtae Park <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Christoph Hellwig <[email protected]>
---
mm/vmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 1e94497b7388..3091c2ca60df 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -2317,7 +2317,7 @@ static inline void __vfree_deferred(const void *addr)
* Use raw_cpu_ptr() because this can be called from preemptible
* context. Preemption is absolutely fine here, because the llist_add()
* implementation is lockless, so it works even if we are adding to
- * nother cpu's list. schedule_work() should be fine with this too.
+ * another cpu's list. schedule_work() should be fine with this too.
*/
struct vfree_deferred *p = raw_cpu_ptr(&vfree_deferred);

--
2.17.1


2020-06-04 14:41:22

by David Hildenbrand

[permalink] [raw]
Subject: Re: [PATCH] mm/vmalloc: fix a typo in comment

On 04.06.20 20:52, Jeongtae Park wrote:
> There is a typo in comment, fix it.
> "nother" -> "another"
>
> Signed-off-by: Jeongtae Park <[email protected]>
> Cc: Andrey Ryabinin <[email protected]>
> Cc: Christoph Hellwig <[email protected]>
> ---
> mm/vmalloc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/vmalloc.c b/mm/vmalloc.c
> index 1e94497b7388..3091c2ca60df 100644
> --- a/mm/vmalloc.c
> +++ b/mm/vmalloc.c
> @@ -2317,7 +2317,7 @@ static inline void __vfree_deferred(const void *addr)
> * Use raw_cpu_ptr() because this can be called from preemptible
> * context. Preemption is absolutely fine here, because the llist_add()
> * implementation is lockless, so it works even if we are adding to
> - * nother cpu's list. schedule_work() should be fine with this too.
> + * another cpu's list. schedule_work() should be fine with this too.
> */
> struct vfree_deferred *p = raw_cpu_ptr(&vfree_deferred);
>
>

fwiw

Reviewed-by: David Hildenbrand <[email protected]>

--
Thanks,

David / dhildenb