All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20181212160145.23117-1-tiny.windzz@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index cba7686..7e15c7d 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -29,7 +29,7 @@ index 6cf3e9b0728f..c5428b0426a9 100644
 +		struct device_node *match;
  
  		if (keyb) {
--			if (dp == of_find_node_by_path(keyb))
+-			if (dp = of_find_node_by_path(keyb))
 -				return SU_PORT_KBD;
 +			match = of_find_node_by_path(keyb);
 +
@@ -40,19 +40,19 @@ index 6cf3e9b0728f..c5428b0426a9 100644
 +			 */
 +			of_node_put(match);
 +
-+			if (dp == match) {
++			if (dp = match) {
 +				rc = SU_PORT_KBD;
 +				goto out;
 +			}
  		}
  		if (ms) {
--			if (dp == of_find_node_by_path(ms))
+-			if (dp = of_find_node_by_path(ms))
 -				return SU_PORT_MS;
 +			match = of_find_node_by_path(ms);
 +
 +			of_node_put(match);
 +
-+			if (dp == match) {
++			if (dp = match) {
 +				rc = SU_PORT_MS;
 +				goto out;
 +			}
diff --git a/a/content_digest b/N1/content_digest
index 427cfda..65497eb 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Yangtao Li <tiny.windzz@gmail.com>\0"
  "Subject\0[PATCH] serial/sunsu: fix refcount leak\0"
- "Date\0Wed, 12 Dec 2018 11:01:45 -0500\0"
+ "Date\0Wed, 12 Dec 2018 16:01:45 +0000\0"
  "To\0davem@davemloft.net"
   gregkh@linuxfoundation.org
   jslaby@suse.com
@@ -42,7 +42,7 @@
  "+\t\tstruct device_node *match;\n"
  " \n"
  " \t\tif (keyb) {\n"
- "-\t\t\tif (dp == of_find_node_by_path(keyb))\n"
+ "-\t\t\tif (dp = of_find_node_by_path(keyb))\n"
  "-\t\t\t\treturn SU_PORT_KBD;\n"
  "+\t\t\tmatch = of_find_node_by_path(keyb);\n"
  "+\n"
@@ -53,19 +53,19 @@
  "+\t\t\t */\n"
  "+\t\t\tof_node_put(match);\n"
  "+\n"
- "+\t\t\tif (dp == match) {\n"
+ "+\t\t\tif (dp = match) {\n"
  "+\t\t\t\trc = SU_PORT_KBD;\n"
  "+\t\t\t\tgoto out;\n"
  "+\t\t\t}\n"
  " \t\t}\n"
  " \t\tif (ms) {\n"
- "-\t\t\tif (dp == of_find_node_by_path(ms))\n"
+ "-\t\t\tif (dp = of_find_node_by_path(ms))\n"
  "-\t\t\t\treturn SU_PORT_MS;\n"
  "+\t\t\tmatch = of_find_node_by_path(ms);\n"
  "+\n"
  "+\t\t\tof_node_put(match);\n"
  "+\n"
- "+\t\t\tif (dp == match) {\n"
+ "+\t\t\tif (dp = match) {\n"
  "+\t\t\t\trc = SU_PORT_MS;\n"
  "+\t\t\t\tgoto out;\n"
  "+\t\t\t}\n"
@@ -82,4 +82,4 @@
  "-- \n"
  2.17.0
 
-fc400e37203542a2b3a563d1ae50eb19cd9e35d8437ca4c451057c68202417b3
+2b5ad53ca47e593935a41f0b36fcea99cc741bd97af15928d2ba0f9a4fea4e67

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.