linux/arch/arm/mach-hisi
Nicholas Mc Guire 9f30b5ae05 ARM: hisi: fix error handling and missing of_node_put
of_iomap() can return NULL which seems critical here and thus should be
explicitly flagged so that the cause of system halting can be understood.
As of_find_compatible_node() is returning a device node with refcount
incremented it must be explicitly decremented here.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes: commit 7fda91e731 ("ARM: hisi: enable smp for HiP01")
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
2018-07-16 17:36:42 +01:00
..
core.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hisilicon.c ARM: hisi: consolidate the hisilicon machine entries 2016-07-07 09:37:59 +01:00
hotplug.c ARM: hisi: fix error handling and missing of_node_put 2018-07-16 17:36:42 +01:00
Kconfig irqchip/hip04: Report that effective affinity is a single target 2017-08-18 10:54:42 +02:00
Makefile ARM: v7 setup function should invalidate L1 cache 2015-06-01 11:30:26 +01:00
platmcpm.c ARM: hisi: fix error return code in hip04_smp_init() 2017-03-28 15:30:54 +01:00
platsmp.c ARM: hisi: Fix typo in comment 2017-08-16 10:40:46 +01:00