[Buildroot] [PATCH] package/mtd: backport patch to remove errors for devices without ecc support

Thomas De Schampheleire patrickdepinguin at gmail.com
Wed Mar 27 14:27:12 UTC 2019


El mié., 27 mar. 2019 a las 15:11, Baruch Siach (<baruch at tkos.co.il>) escribió:
>
> Hi Thomas,
>
> On Wed, Mar 27, 2019 at 03:01:53PM +0100, Thomas De Schampheleire wrote:
> > From: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
> >
> > Since the introduction of mtd-utils 2.0.2, following error can appear on
> > e.g. flash_erase calls:
> >
> >     libmtd: error!: ECCGETLAYOUT ioctl request failed
> >             error 122 (Operation not supported)
> >
> > The error should only be printed if there was an actual error in the
> > ECCGETLAYOUT ioctl call, not when the ioctl is not supported.
> >
> > Backport an upstream patch that fixes this issue.
>
> Why not bump to 2.1.0 instead?
>

Ah, because at the time I wrote this patch, it was not yet released :-)

But yes, that would be the logical thing to do...

/Thomas


More information about the buildroot mailing list