summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2020-07-24 11:05:31 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2020-07-26 23:57:52 +0200
commit7665a47f70b3f64bf09c233cc7df73fde9e506f1 (patch)
treeb7618cb2f555d9b077ffdf9f3af0ca6d28f5e6e9 /kernel
parent92ed301919932f777713b9172e525674157e983d (diff)
downloadlinux-7665a47f70b3f64bf09c233cc7df73fde9e506f1.tar.bz2
signal: fix typo in dequeue_synchronous_signal()
s/postive/positive/ Signed-off-by: Pavel Machek (CIP) <pavel@denx.de> Link: https://lore.kernel.org/r/20200724090531.GA14409@amd [christian.brauner@ubuntu.com: tweak commit message] Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index ee22ec78fd6d..6f16f7c5d375 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -719,7 +719,7 @@ static int dequeue_synchronous_signal(kernel_siginfo_t *info)
* Return the first synchronous signal in the queue.
*/
list_for_each_entry(q, &pending->list, list) {
- /* Synchronous signals have a postive si_code */
+ /* Synchronous signals have a positive si_code */
if ((q->info.si_code > SI_USER) &&
(sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) {
sync = q;