Commit 86af10ca authored by Karl Beldan's avatar Karl Beldan Committed by Stefan Roese
Browse files

Fix "ubi part" cmd re-entrancy

Commit 2ee951ba

 (UBI: Enable re-initializing of the "ubi part" command)
reset mtd_devs in ubi_exit() but missed ubi_init()'s failure path.
Signed-off-by: default avatarKarl Beldan <>
Cc: Stefan Roese <>
Signed-off-by: Stefan Roese's avatarStefan Roese <>
parent d03161b4
......@@ -1045,6 +1045,7 @@ out_version:
mtd_devs = 0;
ubi_err("UBI error: cannot initialize UBI, error %d", err);
return err;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment