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
buffer_sync.c -rw-r--r-- 13.4 KB
buffer_sync.h -rw-r--r-- 432 bytes
cpu_buffer.c -rw-r--r-- 10.3 KB
cpu_buffer.h -rw-r--r-- 2.8 KB
event_buffer.c -rw-r--r-- 4.5 KB
event_buffer.h -rw-r--r-- 858 bytes
oprof.c -rw-r--r-- 5.0 KB
oprof.h -rw-r--r-- 1.0 KB
oprofile_files.c -rw-r--r-- 4.4 KB
oprofile_stats.c -rw-r--r-- 2.3 KB
oprofile_stats.h -rw-r--r-- 692 bytes
oprofilefs.c -rw-r--r-- 6.3 KB
timer_int.c -rw-r--r-- 2.2 KB

back to top