[PATCH v4 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

Arnd Bergmann arnd at arndb.de
Wed Jul 3 09:27:16 EDT 2013


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



More information about the linux-mtd mailing list