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(-) _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox