linux_dsm_epyc7002/drivers/base
Andy Shevchenko 29c4a54bc6 device property: Avoid NULL pointer dereference in device_get_next_child_node()
When we have no primary fwnode or when it's a software node, we may end up
in the situation when fwnode is a NULL pointer. There is no point to look for
secondary fwnode in such case. Add a necessary check to a condition.

Fixes: 114dbb4fa7 ("drivers property: When no children in primary, try secondary")
Reported-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20200716182747.54929-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-23 17:04:28 +02:00
..
firmware_loader
power PM: sleep: core: mark 2 functions as __init to save some memory 2020-06-23 17:35:33 +02:00
regmap regmap: Fixes for v5.8 2020-07-17 09:58:18 -07:00
test
arch_topology.c
attribute_container.c
base.h driver core: Don't do deferred probe in parallel with kernel_init thread 2020-07-10 15:20:38 +02:00
bus.c
cacheinfo.c
class.c
component.c
container.c
core.c driver core: Avoid deferred probe due to fw_devlink_pause/resume() 2020-07-10 15:20:38 +02:00
cpu.c
dd.c driver core: Don't do deferred probe in parallel with kernel_init thread 2020-07-10 15:20:38 +02:00
devcon.c
devcoredump.c
devres.c
devtmpfs.c
driver.c
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile
map.c
memory.c
module.c
node.c
pinctrl.c
platform-msi.c
platform.c
property.c device property: Avoid NULL pointer dereference in device_get_next_child_node() 2020-07-23 17:04:28 +02:00
soc.c
swnode.c
syscore.c
topology.c
transport_class.c