android_kernel_msm-6.1_noth.../arch/openrisc/kernel
Christophe JAILLET c019d92457 openrisc: Fix a memory leak
'setup_find_cpu_node()' take a reference on the node it returns.
This reference must be decremented when not needed anymore, or there will
be a leak.

Add the missing 'of_node_put(cpu)'.

Note that 'setup_cpuinfo()' that also calls this function already has a
correct 'of_node_put(cpu)' at its end.

Fixes: 9d02a4283e ("OpenRISC: Boot code")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Stafford Horne <shorne@gmail.com>
2021-04-28 21:40:44 +09:00
..
.gitignore
asm-offsets.c
dma.c dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h> 2020-10-06 07:07:06 +02:00
entry.S
head.S
irq.c
Makefile
module.c
or32_ksyms.c mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
process.c io_uring-worker.v3-2021-02-25 2021-02-27 08:29:02 -08:00
prom.c
ptrace.c
setup.c openrisc: Fix a memory leak 2021-04-28 21:40:44 +09:00
signal.c openrisc: add support for TIF_NOTIFY_SIGNAL 2020-11-09 08:16:55 -07:00
smp.c openrisc: Use devicetree to determine present cpus 2021-02-09 05:38:50 +09:00
stacktrace.c
sync-timer.c
sys_call_table.c
time.c
traps.c openrisc: fix trap for debugger breakpoint signalling 2020-11-12 06:32:20 +09:00
unwinder.c
vmlinux.h
vmlinux.lds.S Orphan link sections were a long-standing source of obscure bugs, 2020-10-12 13:39:19 -07:00