diff for duplicates of <4148973.00y2RRnE7j@avalon> diff --git a/a/1.txt b/N1/1.txt index e86e06c..4b2e96e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -83,7 +83,7 @@ What about clki, clks3, clks4, clkb and clkg ? Should pllb be exposed as well > +Example > +------- > + -> + cpg_clocks: cpg_clocks@ffc80000 { +> + cpg_clocks: cpg_clocks at ffc80000 { > + compatible = "renesas,r8a7779-cpg-clocks"; > + reg = <0 0xffc80000 0 0x80>; @@ -267,7 +267,7 @@ driver, but we need them for the PLLA multiplier anyway :-/ > + > + cpg = kzalloc(sizeof(*cpg), GFP_KERNEL); > + clks = kzalloc(CPG_NUM_CLOCKS * sizeof(*clks), GFP_KERNEL); -> + if (cpg = NULL || clks = NULL) { +> + if (cpg == NULL || clks == NULL) { > + /* We're leaking memory on purpose, there's no point in cleaning > + * up as the system won't boot anyway. > + */ @@ -281,7 +281,7 @@ driver, but we need them for the PLLA multiplier anyway :-/ > + cpg->data.clk_num = num_clks; > + > + cpg->reg = of_iomap(np, 0); -> + if (WARN_ON(cpg->reg = NULL)) +> + if (WARN_ON(cpg->reg == NULL)) > + return; > + > + config = &cpg_clk_configs[CPG_CLK_CONFIG_INDEX(cpg_mode)]; diff --git a/a/content_digest b/N1/content_digest index b696edd..e0ffef3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01393400016-23433-1-git-send-email-horms+renesas@verge.net.au\0" "ref\01393400016-23433-2-git-send-email-horms+renesas@verge.net.au\0" - "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" - "Subject\0Re: [PATCH v3 01/20] clk: shmobile: r8a7779: Add clocks support\0" - "Date\0Wed, 26 Feb 2014 12:53:17 +0000\0" + "From\0laurent.pinchart@ideasonboard.com (Laurent Pinchart)\0" + "Subject\0[PATCH v3 01/20] clk: shmobile: r8a7779: Add clocks support\0" + "Date\0Wed, 26 Feb 2014 13:53:17 +0100\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" @@ -91,7 +91,7 @@ "> +Example\n" "> +-------\n" "> +\n" - "> +\tcpg_clocks: cpg_clocks@ffc80000 {\n" + "> +\tcpg_clocks: cpg_clocks at ffc80000 {\n" "> +\t\tcompatible = \"renesas,r8a7779-cpg-clocks\";\n" "> +\t\treg = <0 0xffc80000 0 0x80>;\n" "\n" @@ -275,7 +275,7 @@ "> +\n" "> +\tcpg = kzalloc(sizeof(*cpg), GFP_KERNEL);\n" "> +\tclks = kzalloc(CPG_NUM_CLOCKS * sizeof(*clks), GFP_KERNEL);\n" - "> +\tif (cpg = NULL || clks = NULL) {\n" + "> +\tif (cpg == NULL || clks == NULL) {\n" "> +\t\t/* We're leaking memory on purpose, there's no point in cleaning\n" "> +\t\t * up as the system won't boot anyway.\n" "> +\t\t */\n" @@ -289,7 +289,7 @@ "> +\tcpg->data.clk_num = num_clks;\n" "> +\n" "> +\tcpg->reg = of_iomap(np, 0);\n" - "> +\tif (WARN_ON(cpg->reg = NULL))\n" + "> +\tif (WARN_ON(cpg->reg == NULL))\n" "> +\t\treturn;\n" "> +\n" "> +\tconfig = &cpg_clk_configs[CPG_CLK_CONFIG_INDEX(cpg_mode)];\n" @@ -357,4 +357,4 @@ "\n" Laurent Pinchart -f5522577f4f3c64bdb3f2b26a766a399f5c0a3c71ed8dee9c0b807336d87dbc3 +485b49fb8afde459d2f05bba308f0ed65a7a65a41247a51209c9a9c6d76d50ff
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.