[PATCH] mtd-utils: Fix incompatibility with kernel UBI block ioctls

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Tue May 20 14:34:27 PDT 2014


Hi Helmut,

On 20 May 04:57 PM, Helmut Schaa wrote:
> The kernel UBI block ioctl definition is out of sync with the one
> in mtd-utils resulting in ubiblock being unusable on current kernels.
> 

Which version are you taking as "current". The ioctl parameter is actually
an improvement over the first parameter-less implementation, so this patch
makes no sense.

Take a look at:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=463c5eedb4a13b9aa91f05498a0f2c20bd03f8c4

Maybe you have some old kernel or maybe you've backported this feature and you
are using some internal version?
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com



More information about the linux-mtd mailing list