Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1243570
| From | Julia Lawall <Julia.Lawall@lip6.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] delete unneeded of_node_put |
| Date | 2015-10-09 20:00 +0200 |
| Message-ID | <qhK7v-Tp-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
for_each_child_of_node performs an of_node_put on each iteration, so putting an of_node_put before a continue results in a double put. --- var/julia/linuxcopy/drivers/clk/tegra/clk-emc.c | 4 +--- var/julia/linuxcopy/drivers/memory/tegra/mc.c | 4 +--- var/julia/linuxcopy/drivers/memory/tegra/tegra124-emc.c | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] delete unneeded of_node_put Julia Lawall <Julia.Lawall@lip6.fr> - 2015-10-09 20:00 +0200
[PATCH 2/2] clk: tegra: delete unneeded of_node_put Julia Lawall <Julia.Lawall@lip6.fr> - 2015-10-09 20:00 +0200
Re: [PATCH 2/2] clk: tegra: delete unneeded of_node_put Stephen Boyd <sboyd@codeaurora.org> - 2015-10-12 21:00 +0200
csiph-web