Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH v1 05/19] mtd: rawnand: marvell: Fix error handle regarding dma_map_sg | Date | Tue, 20 Sep 2022 10:34:02 +0200 |
| |
On Fri, 2022-08-19 at 06:07:47 UTC, Jack Wang wrote: > dma_map_sg return 0 on error, in case of error return -EIO, > also add the dma_unmap_sg as rollback on the following error. > > Cc: Miquel Raynal <miquel.raynal@bootlin.com> > Cc: Richard Weinberger <richard@nod.at> > Cc: Vignesh Raghavendra <vigneshr@ti.com> > Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> > Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> > Cc: Philipp Zabel <p.zabel@pengutronix.de> > Cc: Christophe Kerello <christophe.kerello@foss.st.com> > Cc: Cai Huoqing <cai.huoqing@linux.dev> > Cc: linux-mtd@lists.infradead.org > Cc: linux-stm32@st-md-mailman.stormreply.com > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
| |