diff for duplicates of <20181107223151.14991-4-robh@kernel.org> diff --git a/a/1.txt b/N1/1.txt index e7fe088..2ba53aa 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -111,7 +111,7 @@ index d41e2a749c5d..30e33b461970 100644 tmp_buf[0] = '\0'; __build_path_component(dp, tmp_buf); - if (tmp_buf[0] = '\0') + if (tmp_buf[0] == '\0') - strcpy(tmp_buf, dp->name); + strcpy(tmp_buf, name); @@ -151,7 +151,7 @@ index c37955d127fe..1667df573f6f 100644 + name, prefix, high_bits); - } else if (type = 12) { + } else if (type == 12) { sprintf(tmp_buf, "%s@%x", - dp->name, high_bits); + name, high_bits); @@ -296,7 +296,7 @@ index c37955d127fe..1667df573f6f 100644 @@ -275,16 +284,17 @@ static void __init usb_path_component(struct device_node *dp, char *tmp_buf) - if (prop->length = sizeof(u32) || regs[1] = 1) { + if (prop->length == sizeof(u32) || regs[1] == 1) { sprintf(tmp_buf, "%s@%x", - dp->name, regs[0]); + name, regs[0]); @@ -336,7 +336,7 @@ index c37955d127fe..1667df573f6f 100644 tmp_buf[0] = '\0'; __build_path_component(dp, tmp_buf); - if (tmp_buf[0] = '\0') + if (tmp_buf[0] == '\0') - strcpy(tmp_buf, dp->name); + strcpy(tmp_buf, name); diff --git a/a/content_digest b/N1/content_digest index 6678daa..d422f15 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020181107223151.14991-1-robh@kernel.org\0" "From\0Rob Herring <robh@kernel.org>\0" "Subject\0[PATCH 3/8] sparc: prom: use property \"name\" directly to construct node names\0" - "Date\0Wed, 07 Nov 2018 22:31:46 +0000\0" + "Date\0Wed, 7 Nov 2018 16:31:46 -0600\0" "To\0David S. Miller <davem@davemloft.net>\0" "Cc\0Frank Rowand <frowand.list@gmail.com>" linux-kernel@vger.kernel.org @@ -121,7 +121,7 @@ " \n" " \ttmp_buf[0] = '\\0';\n" " \t__build_path_component(dp, tmp_buf);\n" - " \tif (tmp_buf[0] = '\\0')\n" + " \tif (tmp_buf[0] == '\\0')\n" "-\t\tstrcpy(tmp_buf, dp->name);\n" "+\t\tstrcpy(tmp_buf, name);\n" " \n" @@ -161,7 +161,7 @@ "+\t\t\t\tname,\n" " \t\t\t\tprefix,\n" " \t\t\t\thigh_bits);\n" - " \t} else if (type = 12) {\n" + " \t} else if (type == 12) {\n" " \t\tsprintf(tmp_buf, \"%s@%x\",\n" "-\t\t\tdp->name, high_bits);\n" "+\t\t\tname, high_bits);\n" @@ -306,7 +306,7 @@ " \n" "@@ -275,16 +284,17 @@ static void __init usb_path_component(struct device_node *dp, char *tmp_buf)\n" " \n" - " \tif (prop->length = sizeof(u32) || regs[1] = 1) {\n" + " \tif (prop->length == sizeof(u32) || regs[1] == 1) {\n" " \t\tsprintf(tmp_buf, \"%s@%x\",\n" "-\t\t\tdp->name, regs[0]);\n" "+\t\t\tname, regs[0]);\n" @@ -346,7 +346,7 @@ " \n" " \ttmp_buf[0] = '\\0';\n" " \t__build_path_component(dp, tmp_buf);\n" - " \tif (tmp_buf[0] = '\\0')\n" + " \tif (tmp_buf[0] == '\\0')\n" "-\t\tstrcpy(tmp_buf, dp->name);\n" "+\t\tstrcpy(tmp_buf, name);\n" " \n" @@ -355,4 +355,4 @@ "-- \n" 2.19.1 -bd2c59706d9b9dcda5b6c77a3510dc99674fc51a0be83e8a851f3ea2b01fe34d +83b6e987ce44fe5d37d2ec646146d9ff8f0ce9543d43a0c3ffe23669ff2d6374
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.