Revision 25477f2398f39a35f110e02f6c7d8dd1023c47c1 authored by Dan Carpenter on 06 June 2010, 19:03:04 UTC, committed by Greg Kroah-Hartman on 30 June 2010, 15:18:14 UTC
copy_to_user() returns the number of bites remaining but we want to
return a negative error code here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent f2102d3
History
File Mode Size
Makefile -rw-r--r-- 347 bytes
mtd_nandecctest.c -rw-r--r-- 1.8 KB
mtd_oobtest.c -rw-r--r-- 17.3 KB
mtd_pagetest.c -rw-r--r-- 15.0 KB
mtd_readtest.c -rw-r--r-- 5.8 KB
mtd_speedtest.c -rw-r--r-- 10.7 KB
mtd_stresstest.c -rw-r--r-- 7.3 KB
mtd_subpagetest.c -rw-r--r-- 12.3 KB
mtd_torturetest.c -rw-r--r-- 12.9 KB

back to top