WSL2-Linux-Kernel/arch/arm/mach-hisi
Nicholas Mc Guire d396cb185c ARM: hisi: handle of_iomap and fix missing of_node_put
Relying on an unchecked of_iomap() which can return NULL is problematic
here, an explicit check seems mandatory. Also the call to
of_find_compatible_node() returns a device node with refcount incremented
therefor an explicit of_node_put() is needed here.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes: commit 22bae42904 ("ARM: hi3xxx: add hotplug support")
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
2018-07-16 17:36:50 +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
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: handle of_iomap and fix missing of_node_put 2018-07-16 17:36:50 +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