On Thu, 8 Apr 2021 at 22:15, Sean Anderson <sean.ander...@seco.com> wrote: > > If there are no nodes or if all nodes are disabled, this function would > return err without setting it first. Fix this by initializing err to > zero. > > Fixes: 94f7afdf7e ("dm: core: Ignore disabled devices when binding") > > Signed-off-by: Sean Anderson <sean.ander...@seco.com> > --- > > drivers/core/root.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <s...@chromium.org> Applied to u-boot-dm, thanks!