mirror of https://gitee.com/openkylin/linux.git
d396cb185c
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
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
core.h | ||
hisilicon.c | ||
hotplug.c | ||
platmcpm.c | ||
platsmp.c |