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 |
---|---|---|
bits.h | -rw-r--r-- | 171 bytes |
clocksource.h | -rw-r--r-- | 479 bytes |
const.h | -rw-r--r-- | 196 bytes |
datapage.h | -rw-r--r-- | 3.8 KB |
helpers.h | -rw-r--r-- | 1.3 KB |
jiffies.h | -rw-r--r-- | 298 bytes |
ktime.h | -rw-r--r-- | 454 bytes |
limits.h | -rw-r--r-- | 564 bytes |
math64.h | -rw-r--r-- | 468 bytes |
processor.h | -rw-r--r-- | 251 bytes |
time.h | -rw-r--r-- | 190 bytes |
time32.h | -rw-r--r-- | 274 bytes |
time64.h | -rw-r--r-- | 389 bytes |
vsyscall.h | -rw-r--r-- | 205 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...