[PATCH] fastboot: Fix blk_dwrite error checking
Mattijs Korpershoek
mkorpershoek at kernel.org
Mon Jun 15 09:15:37 CEST 2026
Hi,
On Sun, 24 May 2026 21:25:47 +0200, Francois Berder wrote:
> blk_dwrite() returns the number of blocks written.
> The code was only checking if the return value was different
> than 0. Hence, partial writes were considered successful.
> Fix blk_dwrite error handling by checking that all blocks
> are written.
>
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] fastboot: Fix blk_dwrite error checking
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/1bd1d033377796418008e9a2351f18dbdf88940c
--
Mattijs
More information about the U-Boot
mailing list