From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Ulf Hansson <ulfh@kernel.org>, Linus Walleij <linusw@kernel.org>,
Arnd Bergmann <arnd@arndb.de>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Frank Li <Frank.Li@nxp.com>, Runyu Xiao <runyu.xiao@seu.edu.cn>,
"Matthew Wilcox (Oracle)" <willy@infradead.org>,
Samarth Narang <samarth.colleges@gmail.com>,
Pan Chuang <panchuang@vivo.com>,
linux-mmc@vger.kernel.org
Subject: Re: [PATCH 1/2] mmc: sh_mmcif: fix error handling
Date: Wed, 2 Dec 2026 20:57:05 +0100 [thread overview]
Message-ID: <axB4ESbfQr3-ReOH@shikoro> (raw)
In-Reply-To: <20261202152437.664948-1-arnd@kernel.org>
On Wed, Dec 02, 2026 at 04:23:48PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> My earlier patch introduced a bug in the error handling code,
> as Sashiko-bot reported.
>
> Fix this by only resetting the number of bytes transferred
> if a request has a 'data' member.
>
> Cc: Linus Walleij <linusw@kernel.org>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Fixes: d372d206e6e0 ("mmc: sh_mmcif: rework sg_miter handling")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Makes sense, we don't always have 'data', it might be 'cmd' only:
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
No testing as I don't have a test case ready to trigger this.
Thanks for the work, Arnd!
prev parent reply other threads:[~2026-12-02 19:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 15:23 [PATCH 1/2] mmc: sh_mmcif: fix error handling Arnd Bergmann
2026-12-02 15:23 ` [PATCH 2/2] mmc: convert sg_miter user to SG_MITER_LOCAL Arnd Bergmann
2026-12-02 15:30 ` sashiko-bot
2026-12-02 15:46 ` Arnd Bergmann
2026-12-02 19:57 ` Wolfram Sang [this message]
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=axB4ESbfQr3-ReOH@shikoro \
--to=wsa+renesas@sang-engineering.com \
--cc=Frank.Li@nxp.com \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=geert+renesas@glider.be \
--cc=linusw@kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=panchuang@vivo.com \
--cc=runyu.xiao@seu.edu.cn \
--cc=samarth.colleges@gmail.com \
--cc=ulfh@kernel.org \
--cc=willy@infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.