summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator.rs
diff options
context:
space:
mode:
authorChristophe Kerello <christophe.kerello@foss.st.com>2025-08-12 09:30:08 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2025-08-28 14:26:51 +0200
commit811c0da4542df3c065f6cb843ced68780e27bb44 (patch)
tree7be82977ca8a6c2f67d85e9edcc19db13a742f4a /rust/kernel/alloc/allocator.rs
parent513c40e59d5a414ab763a9c84797534b5e8c208d (diff)
mtd: rawnand: stm32_fmc2: fix ECC overwrite
In case OOB write is requested during a data write, ECC is currently lost. Avoid this issue by only writing in the free spare area. This issue has been seen with a YAFFS2 file system. Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com> Cc: stable@vger.kernel.org Fixes: 2cd457f328c1 ("mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'rust/kernel/alloc/allocator.rs')
0 files changed, 0 insertions, 0 deletions