All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <5462452D.8020306@hurleysoftware.com>

diff --git a/a/1.txt b/N1/1.txt
index b6a9ac2..00f0123 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -12,10 +12,10 @@ On 11/11/2014 07:50 AM, Dan Carpenter wrote:
 >     48  {
 >     49          if (tty && tty != tty->link) {
 >     50                  WARN_ON(!mutex_is_locked(&tty->link->legacy_mutex) ||
->     51                          !tty->driver->type = TTY_DRIVER_TYPE_PTY ||
->     52                          !tty->driver->type = PTY_TYPE_SLAVE);
+>     51                          !tty->driver->type == TTY_DRIVER_TYPE_PTY ||
+>     52                          !tty->driver->type == PTY_TYPE_SLAVE);
 >
-> ! has high precedence than = so those tests are never true.  != doesn't
+> ! has high precedence than == so those tests are never true.  != doesn't
 > make sense either.  Probably the negate operatons are just copy-and-paste
 > errors?
 
diff --git a/a/content_digest b/N1/content_digest
index a89cf08..fcbb901 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020141111125011.GA12942@mwanda\0"
  "From\0Peter Hurley <peter@hurleysoftware.com>\0"
  "Subject\0Re: tty: Change tty lock order to master->slave\0"
- "Date\0Tue, 11 Nov 2014 17:19:41 +0000\0"
+ "Date\0Tue, 11 Nov 2014 12:19:41 -0500\0"
  "To\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Cc\0kernel-janitors@vger.kernel.org"
   Greg KH <gregkh@linuxfoundation.org>
@@ -22,10 +22,10 @@
  ">     48  {\n"
  ">     49          if (tty && tty != tty->link) {\n"
  ">     50                  WARN_ON(!mutex_is_locked(&tty->link->legacy_mutex) ||\n"
- ">     51                          !tty->driver->type = TTY_DRIVER_TYPE_PTY ||\n"
- ">     52                          !tty->driver->type = PTY_TYPE_SLAVE);\n"
+ ">     51                          !tty->driver->type == TTY_DRIVER_TYPE_PTY ||\n"
+ ">     52                          !tty->driver->type == PTY_TYPE_SLAVE);\n"
  ">\n"
- "> ! has high precedence than = so those tests are never true.  != doesn't\n"
+ "> ! has high precedence than == so those tests are never true.  != doesn't\n"
  "> make sense either.  Probably the negate operatons are just copy-and-paste\n"
  "> errors?\n"
  "\n"
@@ -48,4 +48,4 @@
  "> regards,\n"
  > dan carpenter
 
-664f1dc12a83fb5324b0432544171ee004f042c86283cbb15be491d31d583de3
+93bab3d8ada6a47dc175f173321b7dd98ba49366853d96d44b10dc2b131faccb

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.