From: Tom Rini <trini@konsulko.com>
To: "Pali Rohár" <pali@kernel.org>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] cmd: ubifs: Do not show usage when command fails
Date: Thu, 24 Nov 2022 16:32:53 -0500 [thread overview]
Message-ID: <20221124213253.GF3787616@bill-the-cat> (raw)
In-Reply-To: <20220807195856.19782-1-pali@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
On Sun, Aug 07, 2022 at 09:58:56PM +0200, Pali Rohár wrote:
> Return value -1 cause U-Boot to print usage message. Return value
> 1 (CMD_RET_FAILURE) indicates failure. So fix return value when ubifs
> command starts it execution and fails.
>
> Signed-off-by: Pali Rohár <pali@kernel.org>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Dhruva Gole <d-gole@ti.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
prev parent reply other threads:[~2022-11-24 21:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-07 19:58 [PATCH] cmd: ubifs: Do not show usage when command fails Pali Rohár
2022-10-09 11:18 ` Pali Rohár
2022-11-01 22:20 ` Pali Rohár
2022-11-21 17:37 ` Pali Rohár
2022-11-01 23:25 ` Simon Glass
2022-11-03 12:20 ` Dhruva Gole
2022-11-24 21:32 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221124213253.GF3787616@bill-the-cat \
--to=trini@konsulko.com \
--cc=pali@kernel.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox