[PATCH] sched: fix two misspellings.

Jiangong.Han posted 1 patch 5 days, 1 hour ago
include/linux/sched.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] sched: fix two misspellings.
Posted by Jiangong.Han 5 days, 1 hour 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..7868663864ce 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_nofs_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
Re: [PATCH] sched: fix two misspellings.
Posted by K Prateek Nayak 4 days, 21 hours ago
Please remove the "." at the end of the subject.

On 7/20/2026 6:30 AM, Jiangong.Han wrote:
> fix one misspelled word and one typo in function name.
> 
> Signed-off-by: Jiangong.Han <jiangong.han@windriver.com>

This should be your real name and not the email prefix
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#developer-s-certificate-of-origin-1-1

> ---
>  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..7868663864ce 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_nofs_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);

For the change itself, feel free to include:

Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com>

>  }
> --
> 2.37.3
> 

-- 
Thanks and Regards,
Prateek