diff options
| author | Christophe Kerello <[email protected]> | 2025-08-12 07:30:08 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2025-08-28 12:26:51 +0000 |
| commit | 811c0da4542df3c065f6cb843ced68780e27bb44 (patch) | |
| tree | 7be82977ca8a6c2f67d85e9edcc19db13a742f4a /drivers/fpga/tests/fpga-region-test.c | |
| parent | mtd: rawnand: stm32_fmc2: avoid overlapping mappings on ECC buffer (diff) | |
| download | kernel-811c0da4542df3c065f6cb843ced68780e27bb44.tar.gz kernel-811c0da4542df3c065f6cb843ced68780e27bb44.zip | |
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 <[email protected]>
Cc: [email protected]
Fixes: 2cd457f328c1 ("mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver")
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-region-test.c')
0 files changed, 0 insertions, 0 deletions
