diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-06-05 10:58:41 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-06-24 18:18:30 +0300 |
commit | 1ba904b6b16e08de5aed7c1349838d9cd0d178c5 (patch) | |
tree | bea001871173e7d3df0d22aa54e17cec745bcfeb /scripts/gdb/linux/symbols.py | |
parent | 17b1362d49191625440ca2c195959ce0b37ec296 (diff) | |
download | linux-1ba904b6b16e08de5aed7c1349838d9cd0d178c5.tar.xz |
ARM: cns3xxx: Fix refcount leak in cns3xxx_init
of_find_compatible_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.
Fixes: 415f59142d9d ("ARM: cns3xxx: initial DT support")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Acked-by: Krzysztof Halasa <khalasa@piap.pl>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions