[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175672968988.48694.15291064215961087931.b4-ty@bootlin.com>
Date: Mon, 01 Sep 2025 14:28:09 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>, Gabor Juhos <j4g8y7@...il.com>
Cc: linux-mtd@...ts.infradead.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: nand: qpic_common: use {cmd,data}_sgl_nitems for
sg_init_table()
On Mon, 11 Aug 2025 10:30:42 +0200, Gabor Juhos wrote:
> Since commit ddaad4ad774d ("mtd: nand: qpic_common: prevent out of
> bounds access of BAM arrays"), the {cmd,data}_sgl_nitems members in
> the 'bam_transaction' structure are containing the number of elements
> in the cmd/data scatter-gather lists.
>
> Change the qcom_clear_bam_transaction() function to use these numbers
> while reinitializing the sg lists instead of recomputing the number of
> elements to make it less error prone.
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: nand: qpic_common: use {cmd,data}_sgl_nitems for sg_init_table()
commit: 5b5dc7db5a8dc2c221526acf81b323ec1f972d0f
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
Powered by blists - more mailing lists