Re: [PATCH] Fix corner case in bad block table handling.

2020-08-05 Thread Tom Rini
On Wed, Jul 15, 2020 at 02:46:34PM +, Doyle, Patrick wrote: > In the unlikely event that both blocks 10 and 11 are marked as bad (on a > 32 bit machine), then the process of marking block 10 as bad stomps on > cached entry for block 11. There are (of course) other examples. > > Signed-off-by

Re: [PATCH] Fix corner case in bad block table handling.

2020-08-03 Thread Richard Weinberger
On Wed, Jul 15, 2020 at 4:54 PM Doyle, Patrick wrote: > > > > In the unlikely event that both blocks 10 and 11 are marked as bad (on a > 32 bit machine), then the process of marking block 10 as bad stomps on > cached entry for block 11. There are (of course) other examples. > > Signed-off-by: Pat

[PATCH] Fix corner case in bad block table handling.

2020-07-15 Thread Doyle, Patrick
In the unlikely event that both blocks 10 and 11 are marked as bad (on a 32 bit machine), then the process of marking block 10 as bad stomps on cached entry for block 11. There are (of course) other examples. Signed-off-by: Patrick Doyle --- drivers/mtd/nand/bbt.c | 2 +- 1 file changed, 1 in