summaryrefslogtreecommitdiff
path: root/include/mtd/ubi-media.h
diff options
context:
space:
mode:
authorChristophe Kerello <christophe.kerello@foss.st.com>2022-06-16 09:39:43 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-06-27 07:58:48 +0200
commita315011bd3c237660436e0c796743d61acf4a7b6 (patch)
tree48a269ede9a42bbdd4e8d3666f4d21ee8424d5d1 /include/mtd/ubi-media.h
parent9beb813521d23d7f957fc80c6603810893c8ee53 (diff)
nandflipbits: fix corrupted oob
If a bit is flipped in block 1 or higher, the OOB is corrupted with the OOB of block 0. Mtd_read_oob API has to take into account the block number to be able to calculate the right offset. Fixes: 9fc8db29cf62 ("mtd-utils: Add nandflipbits tool") Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/mtd/ubi-media.h')
0 files changed, 0 insertions, 0 deletions