[PATCH] dfu: Report error codes
Mattijs Korpershoek
mkorpershoek at kernel.org
Wed Jan 14 12:20:27 CET 2026
Hi Sean,
Thank you for the patch.
On Tue, Jan 06, 2026 at 17:22, Sean Anderson <sean.anderson at linux.dev> wrote:
> 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 at linux.dev>
This is a nice improvement! I'm happy to pick this up.
Reviewed-by: Mattijs Korpershoek <mkorpershoek at kernel.org>
> ---
>
> drivers/dfu/dfu.c | 52 ++++++++++++++++++++++++++---------------------
> 1 file changed, 29 insertions(+), 23 deletions(-)
>
More information about the U-Boot
mailing list