Skip to content

Commit

Permalink
ipc/sem.c: spelling fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
unixbhaskar authored and torvalds committed May 7, 2021
1 parent a109ae2 commit 7497835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipc/sem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7497835

Please sign in to comment.