From: Mattijs Korpershoek <mkorpershoek@kernel.org>
To: Francois Berder <fberder@outlook.fr>, u-boot@lists.denx.de
Cc: Mattijs Korpershoek <mkorpershoek@kernel.org>,
Peng Fan <peng.fan@nxp.com>, Tom Rini <trini@konsulko.com>,
Jaehoon Chung <jh80.chung@samsung.com>
Subject: Re: [PATCH] fastboot: Fix blk_dwrite error checking
Date: Mon, 08 Jun 2026 11:27:59 +0200 [thread overview]
Message-ID: <87a4t5xty8.fsf@kernel.org> (raw)
In-Reply-To: <BESP194MB2805BBD03E7C92727F116585DA0D2@BESP194MB2805.EURP194.PROD.OUTLOOK.COM>
Hi Francois,
Thank you for the patch.
On Sun, May 24, 2026 at 21:25, Francois Berder <fberder@outlook.fr> 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.
>
> Signed-off-by: Francois Berder <fberder@outlook.fr>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
> ---
next prev parent reply other threads:[~2026-06-08 9:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-24 19:25 [PATCH] fastboot: Fix blk_dwrite error checking Francois Berder
2026-06-08 9:27 ` Mattijs Korpershoek [this message]
2026-06-15 7:15 ` Mattijs Korpershoek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a4t5xty8.fsf@kernel.org \
--to=mkorpershoek@kernel.org \
--cc=fberder@outlook.fr \
--cc=jh80.chung@samsung.com \
--cc=peng.fan@nxp.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox