Re: [PATCH] mtd: spinand: Add support for all Toshiba Memory products
From: Miquel Raynal
Date: Fri Jan 25 2019 - 07:35:28 EST
Yoshio Furuyama <tmcmc-mb-yfuruyama7@xxxxxxxxxxxxxxxx> wrote on Wed, 16
Jan 2019 14:53:19 +0900:
> Add device table for Toshiba Memory products.
> Also, generalize OOB layout structure and function names.
> Signed-off-by: Yoshio Furuyama <tmcmc-mb-yfuruyama7@xxxxxxxxxxxxxxxx>
Applied to nand/next with the mathematical operations enclosed in
braces as discussed:
- region->length = mtd->oobsize / 2 - 2;
+ region->length = (mtd->oobsize / 2) - 2;