[PATCH] CMD: random: fix return code
Tom Rini
trini at konsulko.com
Tue Apr 28 15:53:22 CEST 2020
On Fri, Mar 20, 2020 at 07:38:17PM +0300, Eugeniy Paltsev wrote:
> As of today 'random' command return 1 (CMD_RET_FAILURE) in case
> of successful execution and 0 (CMD_RET_SUCCESS) in case of bad
> arguments. Fix that.
>
> NOTE: we remove printing usage information from command body
> so it won't print twice.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200428/8548ecae/attachment.sig>
More information about the U-Boot
mailing list