commit | 17e99cc8b711322002ebb6fe92f4ae1c64c1912b | [log] [tgz] |
---|---|---|
author | Hector Palacios <hector.palacios@digi.com> | Thu Nov 20 09:27:42 2014 +0100 |
committer | Tom Rini <trini@ti.com> | Mon Dec 08 09:35:43 2014 -0500 |
tree | 2d51b5fa2331cd1dfa6411c0b3e886f2fc15a24f | |
parent | 2f9e9f244a369f0af75e62195ca9f161b77dc517 [diff] |
cmd_fuse: return CMD_RET_FAILURE on error 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 <hector.palacios@digi.com> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>