mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* mtd/UBI fixes
@ 2013-12-20 14:10 Sascha Hauer
  2013-12-20 14:10 ` [PATCH 1/3] mtd: fix wrong return values in cdev read Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sascha Hauer @ 2013-12-20 14:10 UTC (permalink / raw)
  To: barebox

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-20 14:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-20 14:10 mtd/UBI fixes Sascha Hauer
2013-12-20 14:10 ` [PATCH 1/3] mtd: fix wrong return values in cdev read Sascha Hauer
2013-12-20 14:10 ` [PATCH 2/3] mtd: fix mtd_read return value Sascha Hauer
2013-12-20 14:10 ` [PATCH 3/3] mtd: Add subpagesize to mtd_info_user Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox