81646a3d39
of_find_compatible_node() returns a device node with refcount incremented
and thus needs an explicit of_node_put(). Further relying on an unchecked
of_iomap() which can return NULL is problematic here, after all ctrl_base
is critical enough for hix5hd2_set_cpu() to call BUG() if not available
so a check seems mandated here.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
0002 Fixes: commit
|
||
---|---|---|
.. | ||
core.h | ||
hisilicon.c | ||
hotplug.c | ||
Kconfig | ||
Makefile | ||
platmcpm.c | ||
platsmp.c |