[PATCH v2 1/6] mtd: rawnand: sunxi: sunxi_nand_ooblayout_free code clarification
Chen-Yu Tsai
wens at csie.org
Sat Mar 14 01:05:37 PDT 2026
On Thu, Mar 5, 2026 at 6:02 PM Richard Genoud
<richard.genoud at bootlin.com> wrote:
>
> The available length is really USER_DATA_LEN - 2 instead of just 2 (the
> user data length minus the BBM length)
> USER_DATA_LEN being 4, that doesn't change anything now, but if
> USER_DATA_LEN changes, it will.
>
> Signed-off-by: Richard Genoud <richard.genoud at bootlin.com>
Reviewed-by: Chen-Yu Tsai <wens at kernel.org>
More information about the linux-mtd
mailing list