commit | 8f910fd0d9d234764e89cb770940df2ece851e71 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Mar 03 11:02:15 2015 +0100 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Mar 25 16:53:27 2015 +1100 |
tree | 12484df45b71c4cea3d623e5fdaa510a5faf4cce | |
parent | 4b7d8358819da84b1272cdae29ace4680254a104 [diff] |
powerpc/pmac: Fix DT refcount imbalance in pmac_pic_probe_oldstyle Internally, of_find_node_by_name() calls of_node_put() on its "from" parameter, which must not be done on "master", as it's still in use, and will be released manually later. This may cause a zero kref refcount. Call of_node_get() before to compensate for this. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>