kernel_optimize_test/arch/xtensa/platforms
Liang He 6c0839cf1b xtensa: xtfpga: Fix refcount leak bug in setup
commit 173940b3ae40114d4179c251a98ee039dc9cd5b3 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:59:53 +02:00
..
iss xtensa/simdisk: fix proc_read_simdisk() 2022-06-09 10:21:27 +02:00
xt2000
xtfpga xtensa: xtfpga: Fix refcount leak bug in setup 2022-06-29 08:59:53 +02:00