diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2013-08-15 22:55:08 +0900 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-30 21:36:05 +0100 |
commit | abc173ad84e50645f9136ea56afa9f86c98bf349 (patch) | |
tree | ab33103502169514f85a0a5013b015f5c3f1f3c0 /drivers/mtd/tests/readtest.c | |
parent | 0d58f6ee0106256c47db9640141469d1ed80819a (diff) | |
download | blackbird-op-linux-abc173ad84e50645f9136ea56afa9f86c98bf349.tar.gz blackbird-op-linux-abc173ad84e50645f9136ea56afa9f86c98bf349.zip |
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>
Diffstat (limited to 'drivers/mtd/tests/readtest.c')
-rw-r--r-- | drivers/mtd/tests/readtest.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/tests/readtest.c b/drivers/mtd/tests/readtest.c index ffd50d628219..626e66d0f7e7 100644 --- a/drivers/mtd/tests/readtest.c +++ b/drivers/mtd/tests/readtest.c @@ -55,8 +55,6 @@ static int read_eraseblock_by_page(int ebnum) memset(buf, 0 , pgsize); ret = mtdtest_read(mtd, addr, pgsize, buf); if (ret) { - pr_err("error: read failed at %#llx\n", - (long long)addr); if (!err) err = ret; } |