提交 92765f42 编写于 作者: S Simon Glass 提交者: Tom Rini

Fix missing return in do_mem_loop()

For some reason this does not normally cause a compiler warning, but the code
seems to be incorrect. Add the missing return.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 bdc7d5cd
......@@ -551,6 +551,8 @@ static int do_mem_loop(cmd_tbl_t *cmdtp, int flag, int argc,
*cp++;
}
unmap_sysmem(buf);
return 0;
}
#ifdef CONFIG_LOOPW
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册