kernel-ark/drivers/char/ip2
Dan Carpenter 05254a207a ip2: return -EFAULT on copy_to_user errors
copy_to_user() returns the number of bytes remaining but we want to return
a negative error code on errors.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: "Michael H. Warfield" <mhw@wittsend.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-23 18:17:21 -07:00
..
i2cmd.c
i2cmd.h [PATCH] char: ip2 remove broken macro 2006-12-07 08:39:43 -08:00
i2ellis.c ip2: init/deinit cleanup 2008-10-13 09:51:39 -07:00
i2ellis.h ip2: init/deinit cleanup 2008-10-13 09:51:39 -07:00
i2hw.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
i2lib.c tty: rewrite the ldisc locking 2009-06-11 08:51:01 -07:00
i2lib.h [PATCH] i2Output always takes kernel data now 2006-10-11 11:17:07 -07:00
i2pack.h
ip2.h
ip2ioctl.h
ip2main.c ip2: return -EFAULT on copy_to_user errors 2010-08-23 18:17:21 -07:00
ip2trace.h
ip2types.h
Makefile Char: merge ip2main and ip2base 2008-10-13 09:51:39 -07:00