]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ipc/sem.c: spelling fix
authorBhaskar Chowdhury <unixbhaskar@gmail.com>
Fri, 7 May 2021 01:06:41 +0000 (18:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 May 2021 07:26:34 +0000 (00:26 -0700)
s/purpuse/purpose/

Link: https://lkml.kernel.org/r/20210319221432.26631-1-unixbhaskar@gmail.com
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/sem.c

index 0897dac27f438f13efc2cadebc90095579c0b430..e0ec239680cbd40f79895c260867438f8863e4d7 100644 (file)
--- 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);