
26 Jul
2022
26 Jul
'22
9:52 p.m.
On Mon, 11 Jul 2022 at 00:21, Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
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: d3e773613b6d ("dm: core: Use U-Boot logging instead of pr_debug()") Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
drivers/core/lists.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!