2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/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 [PATCH] ip2main.c warning fixes 2006-02-03 08:32:10 -08:00
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 [PATCH] Fix pragma packing in ip2 driver 2006-01-04 13:55:35 -08:00
ip2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip2ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip2main.c ip2: return -EFAULT on copy_to_user errors 2010-08-23 18:17:21 -07:00
ip2trace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip2types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Char: merge ip2main and ip2base 2008-10-13 09:51:39 -07:00