]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Add missing of_node_put() in ibmebus
authorLiang He <windhl@126.com>
Sun, 19 Jun 2022 07:40:16 +0000 (15:40 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Sep 2022 07:28:26 +0000 (17:28 +1000)
commit8672180a173d369b36470e91db5692b72d83ea2b
treede83aa73aea4eeab0f5d1c315fded81002367285
parent8414aa0da58d879a4a038a45e8b8bd186e7b0c3e
powerpc/pseries: Add missing of_node_put() in ibmebus

In ibmebus_match_path(), use of_node_put() to drop the reference
returned by of_find_node_by_path() before testing for equality of the
pointers.

Signed-off-by: Liang He <windhl@126.com>
[mpe: Rewrite change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220619074016.4068105-1-windhl@126.com
arch/powerpc/platforms/pseries/ibmebus.c