]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/cell: Add missing of_node_put() in iommu.c
authorLiang He <windhl@126.com>
Fri, 1 Jul 2022 14:49:49 +0000 (22:49 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Sep 2022 07:28:26 +0000 (17:28 +1000)
commit8414aa0da58d879a4a038a45e8b8bd186e7b0c3e
tree2017e157c794d8dc50b72851f03b909b22192e68
parent725ae6bc1cccacce772d876ab0f316663e81b518
powerpc/cell: Add missing of_node_put() in iommu.c

In cell_iommu_init_disabled(), hold the reference returned by
of_find_node_by_name() and use it to call of_node_put() for reference
balance.

Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220701144949.252364-2-windhl@126.com
arch/powerpc/platforms/cell/iommu.c