Commit 814b661448d50462c37232a456d3d09450fd9f72
Committed by
Tom Rini
1 parent
a5a83dc9dc
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff