* [PATCH] ipc/sem.c: Couple of spelling fixes
@ 2021-03-19 22:14 Bhaskar Chowdhury
2021-03-20 1:29 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-19 22:14 UTC (permalink / raw)
To: unixbhaskar, akpm, gustavoars, adobriyan, linux-kernel; +Cc: rdunlap
s/purpuse/purpose/
s/seperately/separately/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
ipc/sem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ipc/sem.c b/ipc/sem.c
index f6c30a85dadf..780d75eff8c6 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -786,7 +786,7 @@ static inline void wake_up_sem_queue_prepare(struct sem_queue *q, int error,
{
get_task_struct(q->sleeper);
- /* see SEM_BARRIER_2 for purpuse/pairing */
+ /* see SEM_BARRIER_2 for purpose/pairing */
smp_store_release(&q->status, error);
wake_q_add_safe(wake_q, q->sleeper);
@@ -821,7 +821,7 @@ static inline int check_restart(struct sem_array *sma, struct sem_queue *q)
/* It is impossible that someone waits for the new value:
* - complex operations always restart.
- * - wait-for-zero are handled seperately.
+ * - wait-for-zero are handled separately.
* - q is a previously sleeping simple operation that
* altered the array. It must be a decrement, because
* simple increments never sleep.
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ipc/sem.c: Couple of spelling fixes
2021-03-19 22:14 [PATCH] ipc/sem.c: Couple of spelling fixes Bhaskar Chowdhury
@ 2021-03-20 1:29 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-03-20 1:29 UTC (permalink / raw)
To: Bhaskar Chowdhury; +Cc: akpm, gustavoars, adobriyan, linux-kernel
On Sat, 20 Mar 2021, Bhaskar Chowdhury wrote:
>
> s/purpuse/purpose/
> s/seperately/separately/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> ipc/sem.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/ipc/sem.c b/ipc/sem.c
> index f6c30a85dadf..780d75eff8c6 100644
> --- a/ipc/sem.c
> +++ b/ipc/sem.c
> @@ -786,7 +786,7 @@ static inline void wake_up_sem_queue_prepare(struct sem_queue *q, int error,
> {
> get_task_struct(q->sleeper);
>
> - /* see SEM_BARRIER_2 for purpuse/pairing */
> + /* see SEM_BARRIER_2 for purpose/pairing */
> smp_store_release(&q->status, error);
>
> wake_q_add_safe(wake_q, q->sleeper);
> @@ -821,7 +821,7 @@ static inline int check_restart(struct sem_array *sma, struct sem_queue *q)
>
> /* It is impossible that someone waits for the new value:
> * - complex operations always restart.
> - * - wait-for-zero are handled seperately.
> + * - wait-for-zero are handled separately.
> * - q is a previously sleeping simple operation that
> * altered the array. It must be a decrement, because
> * simple increments never sleep.
> --
> 2.26.2
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-20 1:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 22:14 [PATCH] ipc/sem.c: Couple of spelling fixes Bhaskar Chowdhury
2021-03-20 1:29 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).