mtd/UBI fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux