
29 Apr
2021
29 Apr
'21
6:03 p.m.
On Thu, 8 Apr 2021 at 22:15, Sean Anderson sean.anderson@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.anderson@seco.com
drivers/core/root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!