From: Tom Rini Date: Mon, 8 Dec 2014 16:42:12 -0500 Subject: [U-Boot] [U-Boot,v2] cmd_fuse: return CMD_RET_FAILURE on error In-Reply-To: <1416472062-15206-1-git-send-email-hector.palacios@digi.com> References: <1416472062-15206-1-git-send-email-hector.palacios@digi.com> Message-ID: <20141208214212.GM20704@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 Thu, Nov 20, 2014 at 09:27:42AM +0100, Hector Palacios wrote: > Fuse drivers, like the mxs_ocotp.c, may return negative error codes but > the commands are only allowed to return CMD_RET_* enum values to the > shell, otherwise the following error appears: > > "exit not allowed from main input shell." > > Signed-off-by: Hector Palacios > Reviewed-by: Beno?t Th?baudeau Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: