diff options
author | Akinobu Mita <[email protected]> | 2012-09-08 01:48:07 +0900 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2012-09-29 15:47:37 +0100 |
commit | 6060fb42a0bf93015d05c1a857b94894936f40ee (patch) | |
tree | 4b28d8730eba19b6f61692b520c7529039fd3605 /net/lapb/lapb_out.c | |
parent | c092b43906098a6879d0fa9f74e5141516b9b856 (diff) |
mtd: mtd_nandecctest: rewrite the test routine
This rewrites the entire test routine in order to make it easy to add more
tests by later changes and minimize duplication of each tests as much as
possible.
Now that each test is described by the members of struct nand_ecc_test:
- name: descriptive testname
- prepare: function to prepare data block and ecc with artifical corruption
- verify: function to verify the result of correcting data block
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions