diff for duplicates of <20170718214339.7774-56-robh@kernel.org> diff --git a/a/1.txt b/N1/1.txt index 0d5edc2..16dbbbd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -154,7 +154,7 @@ index 9be884b0c778..90d38de34479 100644 info = framebuffer_alloc(sizeof(u32) * 16, NULL); - + - if (info = 0) { + if (info == 0) { release_mem_region(res_start, res_size); return; @@ -515,7 +514,7 @@ static void __init offb_init_fb(const char *name, const char *full_name, @@ -167,7 +167,7 @@ index 9be884b0c778..90d38de34479 100644 out_err: @@ -644,7 +643,6 @@ static void __init offb_init_nodriver(struct device_node *dp, int no_real_node) - if (strcmp(dp->name, "valkyrie") = 0) + if (strcmp(dp->name, "valkyrie") == 0) address += 0x1000; offb_init_fb(no_real_node ? "bootx" : dp->name, - no_real_node ? "display" : dp->full_name, @@ -250,7 +250,7 @@ index 32b0a7543433..8ce0a99bf17c 100644 } @@ -44,8 +43,7 @@ static int parse_timing_property(const struct device_node *np, const char *name, - } else if (cells = 3) { + } else if (cells == 3) { ret = of_property_read_u32_array(np, name, &result->min, cells); } else { - pr_err("%s: illegal timing specification in %s\n", @@ -314,7 +314,7 @@ index 32b0a7543433..8ce0a99bf17c 100644 native_mode = entry; disp->num_timings = of_get_child_count(timings_np); - if (disp->num_timings = 0) { + if (disp->num_timings == 0) { /* should never happen, as entry was already found above */ - pr_err("%s: no timings specified\n", of_node_full_name(np)); + pr_err("%pOF: no timings specified\n", np); diff --git a/a/content_digest b/N1/content_digest index cef31b5..f3daebd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Rob Herring <robh@kernel.org>\0" "Subject\0[PATCH] video: fbdev: Convert to using %pOF instead of full_name\0" - "Date\0Tue, 18 Jul 2017 21:43:36 +0000\0" + "Date\0Tue, 18 Jul 2017 16:43:36 -0500\0" "To\0Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>\0" "Cc\0linux-kernel@vger.kernel.org" devicetree@vger.kernel.org @@ -163,7 +163,7 @@ " \tinfo = framebuffer_alloc(sizeof(u32) * 16, NULL);\n" "-\n" "+\n" - " \tif (info = 0) {\n" + " \tif (info == 0) {\n" " \t\trelease_mem_region(res_start, res_size);\n" " \t\treturn;\n" "@@ -515,7 +514,7 @@ static void __init offb_init_fb(const char *name, const char *full_name,\n" @@ -176,7 +176,7 @@ "\n" " out_err:\n" "@@ -644,7 +643,6 @@ static void __init offb_init_nodriver(struct device_node *dp, int no_real_node)\n" - " \t\tif (strcmp(dp->name, \"valkyrie\") = 0)\n" + " \t\tif (strcmp(dp->name, \"valkyrie\") == 0)\n" " \t\t\taddress += 0x1000;\n" " \t\toffb_init_fb(no_real_node ? \"bootx\" : dp->name,\n" "-\t\t\t no_real_node ? \"display\" : dp->full_name,\n" @@ -259,7 +259,7 @@ " \t}\n" "\n" "@@ -44,8 +43,7 @@ static int parse_timing_property(const struct device_node *np, const char *name,\n" - " \t} else if (cells = 3) {\n" + " \t} else if (cells == 3) {\n" " \t\tret = of_property_read_u32_array(np, name, &result->min, cells);\n" " \t} else {\n" "-\t\tpr_err(\"%s: illegal timing specification in %s\\n\",\n" @@ -323,7 +323,7 @@ " \tnative_mode = entry;\n" "\n" " \tdisp->num_timings = of_get_child_count(timings_np);\n" - " \tif (disp->num_timings = 0) {\n" + " \tif (disp->num_timings == 0) {\n" " \t\t/* should never happen, as entry was already found above */\n" "-\t\tpr_err(\"%s: no timings specified\\n\", of_node_full_name(np));\n" "+\t\tpr_err(\"%pOF: no timings specified\\n\", np);\n" @@ -388,4 +388,4 @@ "--\n" 2.11.0 -4e25941235b65885b2333125cf21efca0443a0c83c669f4869009a5fdf66a58c +d02ef21d0314007887cc2ac51561e0b0b96ab6d430beef91f01484a79b45df26
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.