mtd: tests: reduce more code duplication and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mtd: pagetest: remove always true conditiondrivers/ | +3 | 0 replies | |
| 2/4 | mtd: tests: return -EIO when mtdtest_read() failed to read requested bytesdrivers/ | +1 | 0 replies | |
| 3/4 | mtd: tests: incorporate error message for mtdtest_read()drivers/ drivers/ drivers/ +2 more | +17 | 0 replies | |
| 4/4 | mtd: tests: incorporate error message for mtdtest_write()drivers/ drivers/ drivers/ +2 more | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -next 0/4] mtd: tests: reduce more code duplication and fixes
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 <[email protected]>
Cc Vikram Narayanan <[email protected]>
Cc Adrian Hunter <[email protected]>
Cc Artem Bityutskiy <[email protected]>
Cc David Woodhouse <[email protected]>
Signature · 1 line
1.8.3.1