On Wednesday 03 July 2013, Artem Bityutskiy wrote: > On Wed, 2013-07-03 at 13:16 +0000, Gupta, Pekon wrote: > > [Pekon]: Yes, I'm not seeing these build issues, as I'm cleanly > > returning from probe with pr_err(), if the required libraries (/lib/bch.c) > > are not build-in the system. > > ------------------- > > [Patch v4 1/4]: mtd:nand:omap2: clean-up BCHx_HW and BCHx_SW ECC.. > > @@static int omap_nand_probe(struct platform_device *pdev) > > + default: > > + pr_err("selected ECC scheme not supported or not enabled\n"); > > + err = -EINVAL; > > + goto out_release_mem_region; > > + } > > ------------------- > > However, if you are still seeing this, could you please send me your config? > > I compile tested your patches too, and did not see any issues with my > omap2_defconfig. To clarify: I'm getting this error with randconfig on today's linux-next. I think it only happens with MTD_NAND_ECC_BCH enabled, which is not the default in omap2_defconfig. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html