Re: [PATCH] mtd: rawnand: gpmi: Fix unintentional integer overflow

From: Miquel Raynal

Date: Tue Nov 17 2026 - 09:23:38 EST


On Thu, 05 Nov 2026 11:59:35 +0200, Stefan Ghetu wrote:
> Cast block to loff_t before shifting, so that the shift is done in
> 64-bit arithmetic and the potential integer overflow is avoided.
> Reported by Coverity.
>
>

Applied to nand/next, thanks!

[1/1] mtd: rawnand: gpmi: Fix unintentional integer overflow
commit: 3b955aa675345cf494a67f95f0cf91eff33c1866

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