commit | e29ffee7761a07030cabf9a5e4f656803c019596 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Jul 11 08:21:31 2022 +0200 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 26 02:30:56 2022 -0600 |
tree | 9621dc3ced6977d876c7a7fb631d52099c808dd0 | |
parent | 3f700dcdada8ef8c6cc972ceea031b208d0abbd7 [diff] |
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: d3e773613b6d ("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>