u-boot/drivers/core
Heinrich Schuchardt 7a6f5a4ea1 dm: avoid NULL dereference in lists_bind_fdt()
If parameter drv of lists_bind_fdt() is specified, we want to bind to this
specific driver even if its field of_match is NULL.

If entry->of_match is NULL, we should not dereference it in a debug
statement.

Fixes: d3e773613b ("dm: core: Use U-Boot logging instead of pr_debug()")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-07-26 02:30:56 -06:00
..
acpi.c dm: avoid NULL dereference in add_item() 2022-07-26 02:30:56 -06:00
device-remove.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
device.c dm: core: Support accessing core tags 2022-06-28 03:09:52 +01:00
devres.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
dump.c dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
fdtaddr.c dm: core: Add a new API devfdt_get_addr_index_ptr() 2021-10-20 10:59:09 +08:00
Kconfig nman external-symbol improvements 2022-07-08 14:39:07 -04:00
lists.c dm: avoid NULL dereference in lists_bind_fdt() 2022-07-26 02:30:56 -06:00
Makefile vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
of_access.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
of_addr.c drivers/core/of_addr.c: Fix spelling of "shouldn't". 2022-01-13 07:57:50 -05:00
of_extra.c net: introduce a helper to determine whether to use in-band autoneg 2021-11-23 09:57:55 +02:00
ofnode.c treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA 2022-04-10 08:44:13 +03:00
read.c net: introduce helpers to get PHY interface mode from a device/ofnode 2022-04-10 08:44:12 +03:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c reset: Avoid a warning in devm_regmap_init() 2021-07-15 18:42:05 -04:00
root.c dm: core: Add a way to collect memory usage 2022-06-28 03:09:52 +01:00
simple-bus.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
simple-pm-bus.c simple-pm-bus: Use -ENOSYS for checking missing system call 2021-04-06 16:33:19 +12:00
syscon-uclass.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
tag.c dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
uclass.c dm: core: Allow finding a uclass device by partial name 2022-04-25 10:00:03 -04:00
util.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00