Revision 29c4a54bc645c8b6745eeb58519e9ad794ceb419 authored by Andy Shevchenko on 16 July 2020, 18:27:47 UTC, committed by Greg Kroah-Hartman on 23 July 2020, 15:04:28 UTC
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: 114dbb4fa7c4 ("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>
1 parent ba47d84
File | Mode | Size |
---|---|---|
arm | ||
interface | ||
acpi.h | -rw-r--r-- | 3.4 KB |
balloon.h | -rw-r--r-- | 973 bytes |
events.h | -rw-r--r-- | 4.2 KB |
features.h | -rw-r--r-- | 502 bytes |
grant_table.h | -rw-r--r-- | 9.7 KB |
hvc-console.h | -rw-r--r-- | 518 bytes |
hvm.h | -rw-r--r-- | 1.3 KB |
mem-reservation.h | -rw-r--r-- | 1.5 KB |
page.h | -rw-r--r-- | 1.3 KB |
platform_pci.h | -rw-r--r-- | 2.0 KB |
swiotlb-xen.h | -rw-r--r-- | 493 bytes |
xen-front-pgdir-shbuf.h | -rw-r--r-- | 2.3 KB |
xen-ops.h | -rw-r--r-- | 7.1 KB |
xen.h | -rw-r--r-- | 1.3 KB |
xenbus.h | -rw-r--r-- | 8.1 KB |
xenbus_dev.h | -rw-r--r-- | 1.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...