From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 28 Apr 2020 09:53:22 -0400 Subject: [PATCH] CMD: random: fix return code In-Reply-To: <20200320163817.8628-1-Eugeniy.Paltsev@synopsys.com> References: <20200320163817.8628-1-Eugeniy.Paltsev@synopsys.com> Message-ID: <20200428135322.GF4468@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass 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: