summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWeijie Gao <[email protected]>2026-05-20 16:27:35 +0800
committerHeiko Schocher <[email protected]>2026-07-08 11:30:53 +0200
commitb452246c8d378f8b38ee0a6ed49402b62fe94f7a (patch)
treeaf49b7b3eb3a6ee2faa7458f5cab477b79513622 /include
parent2818e678214f69d7c1185a493a6ca03379b3927e (diff)
cmd: ubi: change all positive error return value to negative
Change all return value using errno codes to negative. This makes it consistent with the linux ubi layer. Also, to follow the standard definition of U-Boot command, in the do_ubi() command handler, the return value is converted to CMD_RET_FAILURE for error returning, and CMD_RET_USAGE for incorrect usage. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Weijie Gao <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions