diff for duplicates of <YgACV9CZFRDndJ96@kroah.com> diff --git a/a/1.txt b/N1/1.txt index fcd36f1..a8c3a74 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -86,12 +86,12 @@ Tabs please. > commit_echoes(tty); > return; > } -> + if (c == STATUS_CHAR(tty) && L_IEXTEN(tty)) { +> + if (c = STATUS_CHAR(tty) && L_IEXTEN(tty)) { > + if (!L_NOKERNINFO(tty)) > + n_tty_status(tty); > + return; > + } -> if (c == '\n') { +> if (c = '\n') { > if (L_ECHO(tty) || L_ECHONL(tty)) { > echo_char_raw('\n', ldata); > @@ -1763,6 +1771,7 @@ static void n_tty_set_termios(struct tty_struct *tty, struct ktermios *old) @@ -233,13 +233,13 @@ this to be increased? > +{ > + unsigned int ostate, nstate; > + -> + if (old == NULL) +> + if (old = NULL) > + return new; > + > + ostate = task_state_index(old); > + nstate = task_state_index(new); > + -> + if (ostate == nstate) { +> + if (ostate = nstate) { > + if (old->start_time > new->start_time) > + return old; > + return new; @@ -299,13 +299,13 @@ Why 200? > + len = scnprintf(msg + len, msglen - len, "load: %lu.%02lu ", > + LOAD_INT(loadavg[0]), LOAD_FRAC(loadavg[0])); > + -> + if (tty->ctrl.session == NULL) { +> + if (tty->ctrl.session = NULL) { > + len += scnprintf(msg + len, msglen - len, > + "not a controlling terminal\n"); > + goto out; > + } > + -> + if (tty->ctrl.pgrp == NULL) { +> + if (tty->ctrl.pgrp = NULL) { > + len += scnprintf(msg + len, msglen - len, > + "no foreground process group\n"); > + goto out; @@ -313,7 +313,7 @@ Why 200? > + > + /* Note that if p is refcounted */ > + p = pick_process(tty); -> + if (p == NULL) { +> + if (p = NULL) { > + len += scnprintf(msg + len, msglen - len, > + "empty foreground process group\n"); > + goto out; diff --git a/a/content_digest b/N1/content_digest index 9594142..4fecd89 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\020220206154856.2355838-1-walt@drummond.us\0" "ref\020220206154856.2355838-4-walt@drummond.us\0" "From\0Greg KH <gregkh@linuxfoundation.org>\0" - "Subject\0Re: [PATCH v2 3/3] vstatus: Display an informational message when the VSTATUS character is pressed or TIOCSTAT ioctl is called.\0" - "Date\0Sun, 6 Feb 2022 18:16:07 +0100\0" + "Subject\0Re: [PATCH v2 3/3] vstatus: Display an informational message when the VSTATUS character is pressed o\0" + "Date\0Sun, 06 Feb 2022 17:16:07 +0000\0" "To\0Walt Drummond <walt@drummond.us>\0" "Cc\0agordeev@linux.ibm.com" arnd@arndb.de @@ -126,12 +126,12 @@ "> \t\t\tcommit_echoes(tty);\n" "> \t\t\treturn;\n" "> \t\t}\n" - "> +\t\tif (c == STATUS_CHAR(tty) && L_IEXTEN(tty)) {\n" + "> +\t\tif (c = STATUS_CHAR(tty) && L_IEXTEN(tty)) {\n" "> +\t\t\tif (!L_NOKERNINFO(tty))\n" "> +\t\t\t\tn_tty_status(tty);\n" "> +\t\t\treturn;\n" "> +\t\t}\n" - "> \t\tif (c == '\\n') {\n" + "> \t\tif (c = '\\n') {\n" "> \t\t\tif (L_ECHO(tty) || L_ECHONL(tty)) {\n" "> \t\t\t\techo_char_raw('\\n', ldata);\n" "> @@ -1763,6 +1771,7 @@ static void n_tty_set_termios(struct tty_struct *tty, struct ktermios *old)\n" @@ -273,13 +273,13 @@ "> +{\n" "> +\tunsigned int ostate, nstate;\n" "> +\n" - "> +\tif (old == NULL)\n" + "> +\tif (old = NULL)\n" "> +\t\treturn new;\n" "> +\n" "> +\tostate = task_state_index(old);\n" "> +\tnstate = task_state_index(new);\n" "> +\n" - "> +\tif (ostate == nstate) {\n" + "> +\tif (ostate = nstate) {\n" "> +\t\tif (old->start_time > new->start_time)\n" "> +\t\t\treturn old;\n" "> +\t\treturn new;\n" @@ -339,13 +339,13 @@ "> +\tlen = scnprintf(msg + len, msglen - len, \"load: %lu.%02lu \",\n" "> +\t\t\tLOAD_INT(loadavg[0]), LOAD_FRAC(loadavg[0]));\n" "> +\n" - "> +\tif (tty->ctrl.session == NULL) {\n" + "> +\tif (tty->ctrl.session = NULL) {\n" "> +\t\tlen += scnprintf(msg + len, msglen - len,\n" "> +\t\t\t\t \"not a controlling terminal\\n\");\n" "> +\t\tgoto out;\n" "> +\t}\n" "> +\n" - "> +\tif (tty->ctrl.pgrp == NULL) {\n" + "> +\tif (tty->ctrl.pgrp = NULL) {\n" "> +\t\tlen += scnprintf(msg + len, msglen - len,\n" "> +\t\t\t\t \"no foreground process group\\n\");\n" "> +\t\tgoto out;\n" @@ -353,7 +353,7 @@ "> +\n" "> +\t/* Note that if p is refcounted */\n" "> +\tp = pick_process(tty);\n" - "> +\tif (p == NULL) {\n" + "> +\tif (p = NULL) {\n" "> +\t\tlen += scnprintf(msg + len, msglen - len,\n" "> +\t\t\t\t \"empty foreground process group\\n\");\n" "> +\t\tgoto out;\n" @@ -446,4 +446,4 @@ "\n" greg k-h -0c82d06589d66b36990f0cbb9e6d65f8d1b53ceb91390732da9c072ee7d88b4d +c3176e87bccb4670756d94c923bdce78a1ea98357457f2e89a7fb5be50e42ecb
diff --git a/a/content_digest b/N2/content_digest index 9594142..9470694 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,38 +4,36 @@ "Subject\0Re: [PATCH v2 3/3] vstatus: Display an informational message when the VSTATUS character is pressed or TIOCSTAT ioctl is called.\0" "Date\0Sun, 6 Feb 2022 18:16:07 +0100\0" "To\0Walt Drummond <walt@drummond.us>\0" - "Cc\0agordeev@linux.ibm.com" + "Cc\0dalias@libc.org" + linux-ia64@vger.kernel.org + linux-sh@vger.kernel.org + linux-mips@vger.kernel.org + James.Bottomley@hansenpartnership.com + jcmvbkbc@gmail.com + paulus@samba.org + sparclinux@vger.kernel.org + agordeev@linux.ibm.com + ar@cs.msu.ru + jirislaby@kernel.org + linux-arch@vger.kernel.org + linux-s390@vger.kernel.org arnd@arndb.de - benh@kernel.crashing.org + deller@gmx.de + ysato@users.osdn.me borntraeger@de.ibm.com - chris@zankel.net - davem@davemloft.net + mattst88@gmail.com + linux-xtensa@linux-xtensa.org + gor@linux.ibm.com hca@linux.ibm.com - deller@gmx.de ink@jurassic.park.msu.ru - James.Bottomley@hansenpartnership.com - jirislaby@kernel.org - mattst88@gmail.com - jcmvbkbc@gmail.com - mpe@ellerman.id.au - paulus@samba.org rth@twiddle.net - dalias@libc.org + chris@zankel.net tsbogend@alpha.franken.de - gor@linux.ibm.com - ysato@users.osdn.me + linux-parisc@vger.kernel.org linux-kernel@vger.kernel.org - ar@cs.msu.ru linux-alpha@vger.kernel.org - linux-arch@vger.kernel.org - linux-ia64@vger.kernel.org - linux-mips@vger.kernel.org - linux-parisc@vger.kernel.org linuxppc-dev@lists.ozlabs.org - linux-s390@vger.kernel.org - linux-sh@vger.kernel.org - linux-xtensa@linux-xtensa.org - " sparclinux@vger.kernel.org\0" + " davem@davemloft.net\0" "\00:1\0" "b\0" "On Sun, Feb 06, 2022 at 07:48:54AM -0800, Walt Drummond wrote:\n" @@ -446,4 +444,4 @@ "\n" greg k-h -0c82d06589d66b36990f0cbb9e6d65f8d1b53ceb91390732da9c072ee7d88b4d +a4cd073423760c2f9caebe67004f8310ad556dfd2a145db44978a46f9582052f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.