forked from luck/tmp_suning_uos_patched
28ec2238f3
of_find_compatible_node() returns a device_node pointer with refcount incremented and must be decremented explicitly. As this code is using the result only to check presence of the interrupt controller (!NULL) but not actually using the result otherwise the refcount can be decremented here immediately again. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/19820/ Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org |
||
---|---|---|
.. | ||
board-boston.its.S | ||
board-ni169445.its.S | ||
board-ocelot_pcb123.its.S | ||
board-ocelot.c | ||
board-ranchu.c | ||
board-sead3.c | ||
board-xilfpga.its.S | ||
init.c | ||
irq.c | ||
Kconfig | ||
kexec.c | ||
Makefile | ||
Platform | ||
proc.c | ||
vmlinux.its.S | ||
yamon-dt.c |