[PATCH] sched: fix two misspellings

Jiangong.Han posted 1 patch 2 months ago
There is a newer version of this series
include/linux/sched.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] sched: fix two misspellings
Posted by Jiangong.Han 2 months ago
fix one misspelled word and one typo in function name.

Signed-off-by: Jiangong.Han <jiangong.han@windriver.com>
---
 include/linux/sched.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 373bcc0598d1..64836b231f74 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1790,7 +1790,7 @@ extern struct pid *cad_pid;
 #define PF_NOFREEZE		0x00008000	/* This thread should not be frozen */
 #define PF_KCOMPACTD		0x00010000	/* I am kcompactd */
 #define PF_KSWAPD		0x00020000	/* I am kswapd */
-#define PF_MEMALLOC_NOFS	0x00040000	/* All allocations inherit GFP_NOFS. See memalloc_nfs_save() */
+#define PF_MEMALLOC_NOFS	0x00040000	/* All allocations inherit GFP_NOFS. See memalloc_nfos_save() */
 #define PF_MEMALLOC_NOIO	0x00080000	/* All allocations inherit GFP_NOIO. See memalloc_noio_save() */
 #define PF_LOCAL_THROTTLE	0x00100000	/* Throttle writes only against the bdi I write to,
 						 * I am cleaning dirty pages from some other bdi. */
@@ -2377,7 +2377,7 @@ static __always_inline int task_mm_cid(struct task_struct *t)
 	/*
 	 * Use the processor id as a fall-back when the mm cid feature is
 	 * disabled. This provides functional per-cpu data structure accesses
-	 * in user-space, althrough it won't provide the memory usage benefits.
+	 * in user-space, although it won't provide the memory usage benefits.
 	 */
 	return task_cpu(t);
 }
-- 
2.37.3