On 06/07/2016 06:47 AM, Max Krummenacher wrote: > follow parameter name change (nand to mtd) to fix compiler error. > > Signed-off-by: Max Krummenacher <max.krummenac...@toradex.com> > > --- > > Changes in v2: > - Patch v1 1/1 went into master, but Scott's patch series syncing > with kernel v4.6 introduced an additional compile time error. > > drivers/mtd/nand/nand_util.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c > index 5bba66a..e8bcc34 100644 > --- a/drivers/mtd/nand/nand_util.c > +++ b/drivers/mtd/nand/nand_util.c > @@ -820,7 +820,7 @@ int nand_torture(struct mtd_info *mtd, loff_t offset) > { > u_char patterns[] = {0xa5, 0x5a, 0x00}; > struct erase_info instr = { > - .mtd = nand, > + .mtd = mtd, > .addr = offset, > .len = mtd->erasesize, > };
This got missed because no boards enable CONFIG_CMD_NAND_TORTURE. If you use this option could you enable it in the relevant board? Or maybe we need to add an "allyesconfig"-type build (user-tunable options only) to buildman? And/or some other test configs that add up to decent build coverage of options that are only enabled by users. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot