]> git.itanic.dy.fi Git - linux-stable/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)
commitf4f8320b01677b467c768c43c1e1d10383a0e30d
tree2017e157c794d8dc50b72851f03b909b22192e68
parentad4b323693abd221798a6479105d22c79605aa0f
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