diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-03-03 11:02:15 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-03-25 06:53:27 +0100 |
commit | 8f910fd0d9d234764e89cb770940df2ece851e71 (patch) | |
tree | 12484df45b71c4cea3d623e5fdaa510a5faf4cce /arch/powerpc/lib/locks.c | |
parent | drivers/macintosh: Delete an unnecessary check before the function call "of_n... (diff) | |
download | linux-8f910fd0d9d234764e89cb770940df2ece851e71.tar.xz linux-8f910fd0d9d234764e89cb770940df2ece851e71.zip |
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>
Diffstat (limited to 'arch/powerpc/lib/locks.c')
0 files changed, 0 insertions, 0 deletions