From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= Date: Tue, 02 Jul 2013 15:05:22 +0200 Subject: [U-Boot] [PATCH] cmd_bootm.c: Correct check/return for unsupported sub-command In-Reply-To: <1372684164-18426-1-git-send-email-trini@ti.com> References: <1372684164-18426-1-git-send-email-trini@ti.com> Message-ID: <51D2D012.2080501@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/01/2013 03:09 PM, Tom Rini wrote: > With the do_bootm_states re-organization, we have the call to any > potential sub-commands in a single spot. If one fails, we can then stop > right there and return to the caller. Prior to these calls we have > already ensured that ret is zero so we will not be returning this error > for some other case. > > Signed-off-by: Tom Rini Tested-by: Andreas Bie?mann on avr32 > --- > common/cmd_bootm.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-)