Skip to contentSkip to conversation

mm/vmalloc: fix a typo in comment

PATCH Applied Jeongtae Park 2 participants 2 messages Jun 4, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20200604095241epcas2p3bef5ec0a913244bcfd8e7a84827bbf77@epcas2p3.samsung.com

#1 lore raw

PATCH 1/1 mm/vmalloc: fix a typo in comment

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

Cc Andrey Ryabinin <[email protected]>
Cc Christoph Hellwig <[email protected]>
---
 mm/vmalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/vmalloc.c +1 -1
index 1e94497b7388..3091c2ca60df 100644
@@ -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);
 
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#2 lore raw
Quoted 16 lines · Jeongtae Park

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

Cc Andrey Ryabinin <[email protected]>
Cc Christoph Hellwig <[email protected]>
---
 mm/vmalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/vmalloc.c +0 -0
index 1e94497b7388..3091c2ca60df 100644

mm/vmalloc.c static inline void __vfree_deferred(const void *addr) · line 2323

Quoted 8 lines
mm/vmalloc.c +1 -1
@@ -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

Signature · 3 lines
Thanks,

David / dhildenb