diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-08-26 14:06:44 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 16:13:08 +0200 |
commit | f45c2990dc3de65d22e5f3b2f6b5df60a102e493 (patch) | |
tree | a2120a18fecda33ac17d67b8aea6d64d48180ae6 /drivers/mtd/ssfdc.c | |
parent | mtd: mtd_nandecctest: remove unnecessary srandom32() call (diff) | |
download | linux-f45c2990dc3de65d22e5f3b2f6b5df60a102e493.tar.xz linux-f45c2990dc3de65d22e5f3b2f6b5df60a102e493.zip |
mtd: mtd_nandecctest: make module_init() return an error code if test fails
Return an error code if test fails in order to detect a test case failure
by invoking tests repeatedly like this:
while sudo modprobe mtd_nandecctest; do
sudo modprobe -r mtd_nandecctest
done
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/ssfdc.c')
0 files changed, 0 insertions, 0 deletions