mtd/UBI fixes

Sascha Hauer s.hauer at pengutronix.de
Fri Dec 20 09:10:17 EST 2013


This fixes some confusion in the mtd layer. the mtd->read callback
now can return positive numbers for the number of bitflips detected.
We have to convert the callers to handle this correctly.

Sascha

----------------------------------------------------------------
Sascha Hauer (3):
      mtd: fix wrong return values in cdev read
      mtd: fix mtd_read return value
      mtd: Add subpagesize to mtd_info_user

 drivers/mtd/core.c          | 25 +++++++++++++++++++------
 fs/devfs-core.c             |  1 +
 include/linux/mtd/mtd-abi.h |  1 +
 lib/libmtd.c                |  2 +-
 4 files changed, 22 insertions(+), 7 deletions(-)



More information about the barebox mailing list