[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175199761337.1185853.10292369872403699020.b4-ty@kernel.dk>
Date: Tue, 08 Jul 2025 12:00:13 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Thomas Fourier <fourier.thomas@...il.com>
Cc: Philipp Stanner <phasta@...nel.org>, Anuj Gupta <anuj20.g@...sung.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Al Viro <viro@...iv.linux.org.uk>, Li Zetao <lizetao1@...wei.com>,
Asai Thambi S P <asamymuthupa@...ron.com>,
Sam Bradshaw <sbradshaw@...ron.com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: mtip32xx: Fix usage of dma_map_sg()
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
Powered by blists - more mailing lists