
6 Feb
2021
6 Feb
'21
5:57 p.m.
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 ---
(no changes since v1)
common/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/bootm.c b/common/bootm.c index 8298693900d..48a5b04cd7a 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -585,7 +585,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("silent", ret); + return log_msg_ret("subst", ret); }
return 0;
--
2.30.0.478.g8a0d178c01-goog