diff for duplicates of <1435844.NvqxA65edX@avalon> diff --git a/a/1.txt b/N1/1.txt index 43b42f8..c4e08fe 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -145,7 +145,8 @@ move them above int ret ? > + if (!of_property_read_u32(np, "renesas,src-shift", &src_shift)) { > + if (!of_property_read_u32(np, "renesas,src-width", > + &src_width)) { -> + unsigned int parent_idx > + (clk_readl(clock->reg) >> src_shift) & +> + unsigned int parent_idx = +> + (clk_readl(clock->reg) >> src_shift) & > + (BIT(src_width) - 1); > + parent_name = of_clk_get_parent_name(np, parent_idx); > + } else { @@ -159,7 +160,7 @@ move them above int ret ? Please add { } around the above line (didn't checkpatch.pl warn about that ?). > + -> if (parent_name = NULL) { +> if (parent_name == NULL) { > pr_err("%s: failed to get %s DIV6 clock parent name\n", > __func__, np->name); diff --git a/a/content_digest b/N1/content_digest index 48684b2..6472c2a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01409065878-32047-1-git-send-email-ulrich.hecht+renesas@gmail.com\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [RESEND PATCH v3] clk: shmobile: div6: support selectable-input clocks\0" - "Date\0Tue, 26 Aug 2014 16:47:11 +0000\0" + "Date\0Tue, 26 Aug 2014 18:47:11 +0200\0" "To\0Ulrich Hecht <ulrich.hecht+renesas@gmail.com>\0" "Cc\0horms@verge.net.au" linux-sh@vger.kernel.org @@ -159,7 +159,8 @@ "> +\tif (!of_property_read_u32(np, \"renesas,src-shift\", &src_shift)) {\n" "> +\t\tif (!of_property_read_u32(np, \"renesas,src-width\",\n" "> +\t\t\t\t\t&src_width)) {\n" - "> +\t\t\tunsigned int parent_idx > +\t\t\t\t(clk_readl(clock->reg) >> src_shift) &\n" + "> +\t\t\tunsigned int parent_idx =\n" + "> +\t\t\t\t(clk_readl(clock->reg) >> src_shift) &\n" "> +\t\t\t\t(BIT(src_width) - 1);\n" "> +\t\t\tparent_name = of_clk_get_parent_name(np, parent_idx);\n" "> +\t\t} else {\n" @@ -173,7 +174,7 @@ "Please add { } around the above line (didn't checkpatch.pl warn about that ?).\n" "\n" "> +\n" - "> \tif (parent_name = NULL) {\n" + "> \tif (parent_name == NULL) {\n" "> \t\tpr_err(\"%s: failed to get %s DIV6 clock parent name\\n\",\n" "> \t\t __func__, np->name);\n" "\n" @@ -182,4 +183,4 @@ "\n" Laurent Pinchart -1b7b74887bf3cf84170033f4294a39b56f5bf4de54c7fac679f27c996bc9ed3f +b036618e4e203e4958a39df81c0f39ed39a84385c5937ad39e2694a2c9ad41e9
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.