diff options
author | Liang He <windhl@126.com> | 2022-06-28 19:29:39 +0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2022-12-27 07:21:41 +0200 |
commit | 7c32919a378782c95c72bc028b5c30dfe8c11f82 (patch) | |
tree | 8b565dd0e8ae02de69fae3c14d1c4127d3c2b947 /arch/xtensa/kernel/ptrace.c | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
download | linux-7c32919a378782c95c72bc028b5c30dfe8c11f82.tar.gz linux-7c32919a378782c95c72bc028b5c30dfe8c11f82.tar.bz2 linux-7c32919a378782c95c72bc028b5c30dfe8c11f82.zip |
ARM: OMAP2+: omap4-common: Fix refcount leak bug
In omap4_sram_init(), of_find_compatible_node() will return a node
pointer with refcount incremented. We should use of_node_put() when
it is not used anymore.
Signed-off-by: Liang He <windhl@126.com>
Message-Id: <20220628112939.160737-1-windhl@126.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/xtensa/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions