summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
diff options
context:
space:
mode:
authorAristo Chen <jj251510319013@gmail.com>2025-06-10 07:41:17 +0000
committerTom Rini <trini@konsulko.com>2025-06-26 08:12:54 -0600
commit21705d39144a51a50c0206c74588c6e9e4018e7a (patch)
tree770fdca091e99aa3e0c7000c67a861c6721d9caf /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
parentdf8dbc87a2570e99ba73d8e0a097797126040568 (diff)
tools: mkimage: propagate error codes from fit_handle_file()
The fit_handle_file() function previously returned a hardcoded -1 on error. This change updates the logic to return the actual error code stored in `ret`, allowing for error propagation. This improves debuggability and enables downstream callers to distinguish different failure causes, such as FDT_ERR_NOTFOUND or other errors. Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c')
0 files changed, 0 insertions, 0 deletions