]> git.ipfire.org Git - thirdparty/u-boot.git/commit
dfu: Report error codes
authorSean Anderson <sean.anderson@linux.dev>
Tue, 6 Jan 2026 22:22:11 +0000 (17:22 -0500)
committerMattijs Korpershoek <mkorpershoek@kernel.org>
Thu, 15 Jan 2026 08:25:21 +0000 (09:25 +0100)
commit3f9765672ce424300b6d9fb95d8b01313df9dff7
treef88b978c9e3da56856cb6803bec4f968ff43ce80
parent8ea70d8132df30c37c9592952c6267c2e9b4e562
dfu: Report error codes

A lot of things can go wrong while parsing dfu_alt_info. Make sure to
pass the real error codes all the way up instead of replacing them with
an unhelpful -1.

Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Link: https://lore.kernel.org/r/20260106222212.744823-1-sean.anderson@linux.dev
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
drivers/dfu/dfu.c