diff for duplicates of <20181205195050.4759-27-robh@kernel.org> diff --git a/a/content_digest b/N1/content_digest index 45d7bed..2d9e64e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,15 +3,13 @@ "Date\0Wed, 5 Dec 2018 13:50:43 -0600\0" "To\0devicetree@vger.kernel.org" " linux-kernel@vger.kernel.org\0" - "Cc\0Benjamin Herrenschmidt <benh@kernel.crashing.org>" + "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Paul Mackerras <paulus@samba.org> - Michael Ellerman <mpe@ellerman.id.au> - Greg Kroah-Hartman <gregkh@linuxfoundation.org> + linux-serial@vger.kernel.org Jiri Slaby <jslaby@suse.com> - David S. Miller <davem@davemloft.net> + sparclinux@vger.kernel.org linuxppc-dev@lists.ozlabs.org - linux-serial@vger.kernel.org - " sparclinux@vger.kernel.org\0" + " David S. Miller <davem@davemloft.net>\0" "\00:1\0" "b\0" "Convert string compares of DT node names to use of_node_name_eq helper\n" @@ -134,4 +132,4 @@ "-- \n" 2.19.1 -77aa35d3d8de4b1ebf395839cfe46e5e6edd9c670f0024efdb14eb75909fb75d +cd3db172e531d140187d7c8c7c612324d80fd239260a57cd78747169628541fc
diff --git a/a/1.txt b/N2/1.txt index 20d1919..29b2de8 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -60,7 +60,7 @@ index 59eaa620bf13..6de6d4a1a221 100644 + if (!of_node_name_prefix(of_stdout, "vty")) return; termno = of_get_property(of_stdout, "reg", NULL); - if (termno == NULL) + if (termno = NULL) diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index a9d40988e1c8..bcb5bf70534e 100644 --- a/drivers/tty/serial/pmac_zilog.c @@ -69,10 +69,10 @@ index a9d40988e1c8..bcb5bf70534e 100644 */ node_a = node_b = NULL; for (np = NULL; (np = of_get_next_child(node_p, np)) != NULL;) { -- if (strncmp(np->name, "ch-a", 4) == 0) +- if (strncmp(np->name, "ch-a", 4) = 0) + if (of_node_name_prefix(np, "ch-a")) node_a = of_node_get(np); -- else if (strncmp(np->name, "ch-b", 4) == 0) +- else if (strncmp(np->name, "ch-b", 4) = 0) + else if (of_node_name_prefix(np, "ch-b")) node_b = of_node_get(np); } diff --git a/a/content_digest b/N2/content_digest index 45d7bed..cbfb36f 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,6 +1,6 @@ "From\0Rob Herring <robh@kernel.org>\0" "Subject\0[PATCH] tty: Use of_node_name_{eq,prefix} for node name comparisons\0" - "Date\0Wed, 5 Dec 2018 13:50:43 -0600\0" + "Date\0Wed, 05 Dec 2018 19:50:43 +0000\0" "To\0devicetree@vger.kernel.org" " linux-kernel@vger.kernel.org\0" "Cc\0Benjamin Herrenschmidt <benh@kernel.crashing.org>" @@ -76,7 +76,7 @@ "+\tif (!of_node_name_prefix(of_stdout, \"vty\"))\n" " \t\treturn;\n" " \ttermno = of_get_property(of_stdout, \"reg\", NULL);\n" - " \tif (termno == NULL)\n" + " \tif (termno = NULL)\n" "diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c\n" "index a9d40988e1c8..bcb5bf70534e 100644\n" "--- a/drivers/tty/serial/pmac_zilog.c\n" @@ -85,10 +85,10 @@ " \t\t */\n" " \t\tnode_a = node_b = NULL;\n" " \t\tfor (np = NULL; (np = of_get_next_child(node_p, np)) != NULL;) {\n" - "-\t\t\tif (strncmp(np->name, \"ch-a\", 4) == 0)\n" + "-\t\t\tif (strncmp(np->name, \"ch-a\", 4) = 0)\n" "+\t\t\tif (of_node_name_prefix(np, \"ch-a\"))\n" " \t\t\t\tnode_a = of_node_get(np);\n" - "-\t\t\telse if (strncmp(np->name, \"ch-b\", 4) == 0)\n" + "-\t\t\telse if (strncmp(np->name, \"ch-b\", 4) = 0)\n" "+\t\t\telse if (of_node_name_prefix(np, \"ch-b\"))\n" " \t\t\t\tnode_b = of_node_get(np);\n" " \t\t}\n" @@ -134,4 +134,4 @@ "-- \n" 2.19.1 -77aa35d3d8de4b1ebf395839cfe46e5e6edd9c670f0024efdb14eb75909fb75d +2592bc848fefd89e9d304285ea6c39f64e52df2c062cf465b59621d00fde13f1
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.