diff options
author | Peng Wu <wupeng58@huawei.com> | 2022-04-25 11:12:45 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-22 08:58:31 +0300 |
commit | 57b742a5b8945118022973e6416b71351df512fb (patch) | |
tree | 413a72ba5a201e71ca8e422ca2c9eeb42a4f0644 /scripts/gdb/linux/utils.py | |
parent | 426e5805226358dbe9af233347c5bf3c81f2125c (diff) | |
download | linux-57b742a5b8945118022973e6416b71351df512fb.tar.xz |
powerpc/iommu: Add missing of_node_put in iommu_init_early_dart
The device_node pointer is returned by of_find_compatible_node
with refcount incremented. We should use of_node_put() to avoid
the refcount leak.
Signed-off-by: Peng Wu <wupeng58@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220425081245.21705-1-wupeng58@huawei.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions