[PATCH v2 u-boot] cmd: mmc: Return CMD_RET_* from commands
Simon Glass
sjg at chromium.org
Thu Mar 23 19:28:29 CET 2023
On Thu, 23 Mar 2023 at 09:07, Pali Rohár <pali at kernel.org> wrote:
>
> Numeric return values may cause strange errors line:
> exit not allowed from main input shell.
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
> ---
> Rename r to ret.
> ---
> cmd/mmc.c | 18 +++++++++++++-----
> 1 file changed, 13 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list