forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/tty/tty_jobctrl.c
....@@ -44,7 +44,7 @@
4444 tty_pgrp = tty->pgrp;
4545 spin_unlock_irqrestore(&tty->ctrl_lock, flags);
4646
47
- if (tty_pgrp && pgrp != tty->pgrp) {
47
+ if (tty_pgrp && pgrp != tty_pgrp) {
4848 if (is_ignored(sig)) {
4949 if (sig == SIGTTIN)
5050 ret = -EIO;
....@@ -178,8 +178,8 @@
178178
179179 /**
180180 * tty_signal_session_leader - sends SIGHUP to session leader
181
- * @tty controlling tty
182
- * @exit_session if non-zero, signal all foreground group processes
181
+ * @tty: controlling tty
182
+ * @exit_session: if non-zero, signal all foreground group processes
183183 *
184184 * Send SIGHUP and SIGCONT to the session leader and its process group.
185185 * Optionally, signal all processes in the foreground process group.
....@@ -316,7 +316,7 @@
316316 read_unlock(&tasklist_lock);
317317 }
318318
319
-/**
319
+/*
320320 *
321321 * no_tty - Ensure the current process does not have a controlling tty
322322 */