mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
bdc7d5cda3
commit
92765f4209
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue