[PATCH -next 0/4] mtd: tests: reduce more code duplication and fixes

Akinobu Mita akinobu.mita at gmail.com
Thu Aug 15 09:55:05 EDT 2013


This patch set fixes some problems in the patch set 'mtd: tests: reduce
duplication among mtd tests modules' and reduces more duplication by
incorporating the error messages into mtdtest_read() and mtdtest_write().

Akinobu Mita (4):
  mtd: pagetest: remove always true condition
  mtd: tests: return -EIO when mtdtest_read() failed to read requested
    bytes
  mtd: tests: incorporate error message for mtdtest_read()
  mtd: tests: incorporate error message for mtdtest_write()

 drivers/mtd/tests/mtd_test.c    |  6 ++-
 drivers/mtd/tests/nandbiterrs.c |  8 +---
 drivers/mtd/tests/pagetest.c    | 84 ++++++++---------------------------------
 drivers/mtd/tests/readtest.c    |  2 -
 drivers/mtd/tests/speedtest.c   | 48 ++++-------------------
 drivers/mtd/tests/stresstest.c  | 15 ++------
 6 files changed, 33 insertions(+), 130 deletions(-)

Cc: Brian Norris <computersforpeace at gmail.com>
Cc: Vikram Narayanan <vikram186 at gmail.com>
Cc: Adrian Hunter <adrian.hunter at intel.com>
Cc: Artem Bityutskiy <dedekind1 at gmail.com>
Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: linux-mtd at lists.infradead.org

-- 
1.8.3.1




More information about the linux-mtd mailing list