diff for duplicates of <20181205195050.4759-29-robh@kernel.org> diff --git a/a/1.txt b/N1/1.txt index 9dff7a3..cdec91d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -94,8 +94,8 @@ index 901ca4ed10e9..b268570b019d 100644 switch (pdev->device) { case PCI_DEVICE_ID_IMS_TT128: /* IMS,tt128mbA */ par->ramdac = IBM; -- if (dp && ((strcmp(dp->name, "IMS,tt128mb8") = 0) || -- (strcmp(dp->name, "IMS,tt128mb8A") = 0))) +- if (dp && ((strcmp(dp->name, "IMS,tt128mb8") == 0) || +- (strcmp(dp->name, "IMS,tt128mb8A") == 0))) + if (of_node_name_eq(dp, "IMS,tt128mb8") || + of_node_name_eq(dp, "IMS,tt128mb8A")) par->ramdac = TVP; @@ -109,7 +109,7 @@ index 31f769d67195..7b452a520e85 100644 } #endif /* kludge for valkyrie */ -- if (strcmp(dp->name, "valkyrie") = 0) +- if (strcmp(dp->name, "valkyrie") == 0) + if (of_node_name_eq(dp, "valkyrie")) address += 0x1000; offb_init_fb(no_real_node ? "bootx" : NULL, @@ -138,3 +138,8 @@ index f1eb8b0f8a2a..5ce893c1923d 100644 } -- 2.19.1 + +_______________________________________________ +dri-devel mailing list +dri-devel@lists.freedesktop.org +https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/a/content_digest b/N1/content_digest index e4f628f..1adc483 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Rob Herring <robh@kernel.org>\0" "Subject\0[PATCH] fbdev: Use of_node_name_eq for node name comparisons\0" - "Date\0Wed, 05 Dec 2018 19:50:45 +0000\0" + "Date\0Wed, 5 Dec 2018 13:50:45 -0600\0" "To\0devicetree@vger.kernel.org" " linux-kernel@vger.kernel.org\0" "Cc\0linux-fbdev@vger.kernel.org" @@ -105,8 +105,8 @@ " \tswitch (pdev->device) {\n" " \t\tcase PCI_DEVICE_ID_IMS_TT128: /* IMS,tt128mbA */\n" " \t\t\tpar->ramdac = IBM;\n" - "-\t\t\tif (dp && ((strcmp(dp->name, \"IMS,tt128mb8\") = 0) ||\n" - "-\t\t\t\t (strcmp(dp->name, \"IMS,tt128mb8A\") = 0)))\n" + "-\t\t\tif (dp && ((strcmp(dp->name, \"IMS,tt128mb8\") == 0) ||\n" + "-\t\t\t\t (strcmp(dp->name, \"IMS,tt128mb8A\") == 0)))\n" "+\t\t\tif (of_node_name_eq(dp, \"IMS,tt128mb8\") ||\n" "+\t\t\t of_node_name_eq(dp, \"IMS,tt128mb8A\"))\n" " \t\t\t\tpar->ramdac = TVP;\n" @@ -120,7 +120,7 @@ " \t\t}\n" " #endif\n" " \t\t/* kludge for valkyrie */\n" - "-\t\tif (strcmp(dp->name, \"valkyrie\") = 0)\n" + "-\t\tif (strcmp(dp->name, \"valkyrie\") == 0)\n" "+\t\tif (of_node_name_eq(dp, \"valkyrie\"))\n" " \t\t\taddress += 0x1000;\n" " \t\toffb_init_fb(no_real_node ? \"bootx\" : NULL,\n" @@ -148,6 +148,11 @@ " \treturn ep;\n" " }\n" "-- \n" - 2.19.1 + "2.19.1\n" + "\n" + "_______________________________________________\n" + "dri-devel mailing list\n" + "dri-devel@lists.freedesktop.org\n" + https://lists.freedesktop.org/mailman/listinfo/dri-devel -ea26574a05f1affde74f465f7a6f44e8fe25046b3d41900fe33ea0a905dd4d1b +5ad709377d2a6f3f387c8829fdebf50e760625746a6496489fc2fbd1a907a4d0
diff --git a/a/1.txt b/N2/1.txt index 9dff7a3..c943536 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -94,8 +94,8 @@ index 901ca4ed10e9..b268570b019d 100644 switch (pdev->device) { case PCI_DEVICE_ID_IMS_TT128: /* IMS,tt128mbA */ par->ramdac = IBM; -- if (dp && ((strcmp(dp->name, "IMS,tt128mb8") = 0) || -- (strcmp(dp->name, "IMS,tt128mb8A") = 0))) +- if (dp && ((strcmp(dp->name, "IMS,tt128mb8") == 0) || +- (strcmp(dp->name, "IMS,tt128mb8A") == 0))) + if (of_node_name_eq(dp, "IMS,tt128mb8") || + of_node_name_eq(dp, "IMS,tt128mb8A")) par->ramdac = TVP; @@ -109,7 +109,7 @@ index 31f769d67195..7b452a520e85 100644 } #endif /* kludge for valkyrie */ -- if (strcmp(dp->name, "valkyrie") = 0) +- if (strcmp(dp->name, "valkyrie") == 0) + if (of_node_name_eq(dp, "valkyrie")) address += 0x1000; offb_init_fb(no_real_node ? "bootx" : NULL, diff --git a/a/content_digest b/N2/content_digest index e4f628f..262fdc3 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,12 +1,13 @@ "From\0Rob Herring <robh@kernel.org>\0" "Subject\0[PATCH] fbdev: Use of_node_name_eq for node name comparisons\0" - "Date\0Wed, 05 Dec 2018 19:50:45 +0000\0" + "Date\0Wed, 5 Dec 2018 13:50:45 -0600\0" "To\0devicetree@vger.kernel.org" " linux-kernel@vger.kernel.org\0" - "Cc\0linux-fbdev@vger.kernel.org" - linux-omap@vger.kernel.org + "Cc\0Benjamin Herrenschmidt <benh@kernel.crashing.org>" + Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> + linux-fbdev@vger.kernel.org dri-devel@lists.freedesktop.org - " Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>\0" + " linux-omap@vger.kernel.org\0" "\00:1\0" "b\0" "Convert string compares of DT node names to use of_node_name_eq helper\n" @@ -105,8 +106,8 @@ " \tswitch (pdev->device) {\n" " \t\tcase PCI_DEVICE_ID_IMS_TT128: /* IMS,tt128mbA */\n" " \t\t\tpar->ramdac = IBM;\n" - "-\t\t\tif (dp && ((strcmp(dp->name, \"IMS,tt128mb8\") = 0) ||\n" - "-\t\t\t\t (strcmp(dp->name, \"IMS,tt128mb8A\") = 0)))\n" + "-\t\t\tif (dp && ((strcmp(dp->name, \"IMS,tt128mb8\") == 0) ||\n" + "-\t\t\t\t (strcmp(dp->name, \"IMS,tt128mb8A\") == 0)))\n" "+\t\t\tif (of_node_name_eq(dp, \"IMS,tt128mb8\") ||\n" "+\t\t\t of_node_name_eq(dp, \"IMS,tt128mb8A\"))\n" " \t\t\t\tpar->ramdac = TVP;\n" @@ -120,7 +121,7 @@ " \t\t}\n" " #endif\n" " \t\t/* kludge for valkyrie */\n" - "-\t\tif (strcmp(dp->name, \"valkyrie\") = 0)\n" + "-\t\tif (strcmp(dp->name, \"valkyrie\") == 0)\n" "+\t\tif (of_node_name_eq(dp, \"valkyrie\"))\n" " \t\t\taddress += 0x1000;\n" " \t\toffb_init_fb(no_real_node ? \"bootx\" : NULL,\n" @@ -150,4 +151,4 @@ "-- \n" 2.19.1 -ea26574a05f1affde74f465f7a6f44e8fe25046b3d41900fe33ea0a905dd4d1b +d585ddd67cc37dd5ef834dca707880307170f810caf26d84f3a42ad081519e27
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.