From: Akinobu Mita Date: Sun, 26 Aug 2012 12:06:44 +0000 (+0900) Subject: mtd: mtd_nandecctest: make module_init() return an error code if test fails X-Git-Tag: v3.7-rc1~70^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45c2990dc3de65d22e5f3b2f6b5df60a102e493;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed