[PATCH v1] mtd: rawnand: meson: fix build error

Miquel Raynal miquel.raynal at bootlin.com
Fri Jul 28 05:34:18 PDT 2023


On Fri, 2023-07-28 at 09:38:10 UTC, Arseniy Krasnov wrote:
> Fixes the following build error:
> 
> drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant
> static const struct nand_ecc_step_info axg_stepinfo[] = { axg_stepinfo_1024, axg_stepinfo_512 };
>                                                           ^~~~~~~~~~~~~~~~~
> 
> Fixes: 0e1db39336d8 ("mtd: rawnand: meson: support for 512B ECC step size")
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202307281007.MMuVjmJ9-lkp@intel.com/
> Signed-off-by: Arseniy Krasnov <AVKrasnov at sberdevices.ru>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-mtd mailing list