mtd: tests: incorporate error message for mtdtest_read()
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 15 Aug 2013 13:55:08 +0000 (22:55 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:36:05 +0000 (21:36 +0100)
commitabc173ad84e50645f9136ea56afa9f86c98bf349
treeab33103502169514f85a0a5013b015f5c3f1f3c0
parent0d58f6ee0106256c47db9640141469d1ed80819a
mtd: tests: incorporate error message for mtdtest_read()

All callers of mtdtest_read() print the same error message on failure.
This incorporates the error message to mtdtest_read() and removes them
from the callers.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/tests/mtd_test.c
drivers/mtd/tests/pagetest.c
drivers/mtd/tests/readtest.c
drivers/mtd/tests/speedtest.c
drivers/mtd/tests/stresstest.c