for-linus-2020-08-01
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRAhzRXHqcMeLMyaSiRxhvAZXjcogUCXyXDTQAKCRCRxhvAZXjc olxlAQDCiyWstd8pmtyX4vuaoyDZ6re6P/TCr3mzr6tQyux/zgD/chlfAvJdyzk8 2Tw44odp3gF5EfzF+5wx2whZZPfVrQY= =Hv2c -----END PGP SIGNATURE----- Merge tag 'for-linus-2020-08-01' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux Pull thread fix from Christian Brauner: "A simple spelling fix for dequeue_synchronous_signal()" * tag 'for-linus-2020-08-01' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux: signal: fix typo in dequeue_synchronous_signal()
This commit is contained in:
commit
0ae3495b65
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue