From: Jens Axboe <axboe@kernel.dk>
To: Thomas Fourier <fourier.thomas@gmail.com>
Cc: Philipp Stanner <phasta@kernel.org>,
Anuj Gupta <anuj20.g@samsung.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Al Viro <viro@zeniv.linux.org.uk>,
Li Zetao <lizetao1@huawei.com>,
Asai Thambi S P <asamymuthupa@micron.com>,
Sam Bradshaw <sbradshaw@micron.com>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] block: mtip32xx: Fix usage of dma_map_sg()
Date: Tue, 08 Jul 2025 12:00:13 -0600 [thread overview]
Message-ID: <175199761337.1185853.10292369872403699020.b4-ty@kernel.dk> (raw)
In-Reply-To: <20250627121123.203731-2-fourier.thomas@gmail.com>
On Fri, 27 Jun 2025 14:11:19 +0200, Thomas Fourier wrote:
> The dma_map_sg() can fail and, in case of failure, returns 0. If it
> fails, mtip_hw_submit_io() returns an error.
>
> The dma_unmap_sg() requires the nents parameter to be the same as the
> one passed to dma_map_sg(). This patch saves the nents in
> command->scatter_ents.
>
> [...]
Applied, thanks!
[1/1] block: mtip32xx: Fix usage of dma_map_sg()
commit: 8e1fab9cccc7b806b0cffdceabb09b310b83b553
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2025-07-08 18:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-27 12:11 Thomas Fourier
2025-06-27 14:08 ` Andy Shevchenko
2025-07-08 18:00 ` Jens Axboe [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=175199761337.1185853.10292369872403699020.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=andriy.shevchenko@linux.intel.com \
--cc=anuj20.g@samsung.com \
--cc=asamymuthupa@micron.com \
--cc=fourier.thomas@gmail.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizetao1@huawei.com \
--cc=phasta@kernel.org \
--cc=sbradshaw@micron.com \
--cc=viro@zeniv.linux.org.uk \
/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
all inboxes | Powered by JetHome®