projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c52fcc
)
bootm: Fix duplicate debugging in bootm_process_cmdline()
author
Simon Glass
<sjg@chromium.org>
Sat, 6 Feb 2021 16:57:35 +0000
(09:57 -0700)
committer
Tom Rini
<trini@konsulko.com>
Tue, 2 Mar 2021 20:53:37 +0000
(15:53 -0500)
These two returns use the same string so are not distinguishable with
LOG_ERROR_RETURN. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootm.c
patch
|
blob
|
history
diff --git
a/common/bootm.c
b/common/bootm.c
index defaed8426dff7805a9e7656512356e1c473f508..dab7c3619fdc6a51d86f2d949e755a41e51e3a9e 100644
(file)
--- a/
common/bootm.c
+++ b/
common/bootm.c
@@
-586,7
+586,7
@@
int bootm_process_cmdline(char *buf, int maxlen, int flags)
if (IS_ENABLED(CONFIG_BOOTARGS_SUBST) && (flags & BOOTM_CL_SUBST)) {
ret = process_subst(buf, maxlen);
if (ret)
- return log_msg_ret("s
ilen
t", ret);
+ return log_msg_ret("s
ubs
t", ret);
}
return 0;