Commit 7665a47f authored by Pavel Machek's avatar Pavel Machek Committed by Christian Brauner

signal: fix typo in dequeue_synchronous_signal()

s/postive/positive/
Signed-off-by: default avatarPavel Machek (CIP) <pavel@denx.de>
Link: https://lore.kernel.org/r/20200724090531.GA14409@amd
[christian.brauner@ubuntu.com: tweak commit message]
Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 92ed3019
...@@ -719,7 +719,7 @@ static int dequeue_synchronous_signal(kernel_siginfo_t *info) ...@@ -719,7 +719,7 @@ static int dequeue_synchronous_signal(kernel_siginfo_t *info)
* Return the first synchronous signal in the queue. * Return the first synchronous signal in the queue.
*/ */
list_for_each_entry(q, &pending->list, list) { 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) && if ((q->info.si_code > SI_USER) &&
(sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) { (sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) {
sync = q; sync = q;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment