summaryrefslogtreecommitdiffstats
path: root/common/blspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/blspec.c')
-rw-r--r--common/blspec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/blspec.c b/common/blspec.c
index f02f5e9ce3..e079e8fd92 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -395,6 +395,7 @@ static bool entry_is_of_compatible(struct blspec_entry *entry)
root = of_unflatten_dtb(fdt);
if (IS_ERR(root)) {
ret = PTR_ERR(root);
+ root = NULL;
goto out;
}