summaryrefslogtreecommitdiff
path: root/arch/arm/mach-spear
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-06-05 11:58:41 +0400
committerArnd Bergmann <arnd@arndb.de>2022-06-24 17:18:30 +0200
commit1ba904b6b16e08de5aed7c1349838d9cd0d178c5 (patch)
treebea001871173e7d3df0d22aa54e17cec745bcfeb /arch/arm/mach-spear
parent17b1362d49191625440ca2c195959ce0b37ec296 (diff)
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 'arch/arm/mach-spear')
0 files changed, 0 insertions, 0 deletions