Re: [PATCH 1/1] mtd: ubi: fix improper return value

From: Artem Bityutskiy
Date: Mon Dec 05 2016 - 02:09:49 EST


On Sun, 2016-12-04 at 21:52 +0100, Richard Weinberger wrote:
> We should better think about how to get ubi_self_check_all_ff()
> fixed.
> When enabled on a modern NAND, vmalloc() is likely to fail now and
> then
> since len is the erase block size and can be up to a few mega bytes.

I did an attempt to switch from virtually continuous buffers to an
array of page pointers, but never finished.