linux-stable/arch/xtensa/platforms
Liang He a52972ee70 xtensa: xtfpga: Fix refcount leak bug in setup
commit 173940b3ae upstream.

In machine_setup(), of_find_compatible_node() will return a node
pointer with refcount incremented. We should use of_node_put() when
it is not used anymore.

Cc: stable@vger.kernel.org
Signed-off-by: Liang He <windhl@126.com>
Message-Id: <20220617115323.4046905-1-windhl@126.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-29 08:58:48 +02:00
..
iss xtensa: ISS: don't panic in rs_init 2021-09-22 12:26:30 +02:00
xt2000 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
xtfpga xtensa: xtfpga: Fix refcount leak bug in setup 2022-06-29 08:58:48 +02:00