Skip to content
Snippets Groups Projects
user avatar
Sean Anderson authored
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: 94f7afdf ("dm: core: Ignore disabled devices when binding")

Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
6784cb35
History
Name Last commit Last update