linux/drivers/staging/rt2860
Dan Carpenter 2d98bb22c3 Staging: rc2860: 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.  This is in the ioctl handler and the
error code gets passed to userspace.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-04 13:38:58 -07:00
..
chip Staging: rt2860: fix coding style issue in mac_pci.h, mac_usb.h, rtmp_mac.h, rtmp_phy.h 2010-05-11 11:35:42 -07:00
chips Staging: rt2860: fix coding style issue in rt3070.c, rt3090.c, rt30xx.c 2010-05-11 11:35:42 -07:00
common staging: rt2860: use new hex_to_bin() method 2010-05-25 08:07:05 -07:00
iface USB: staging: fix up usb_buffer_alloc calls in the staging tree 2010-05-20 13:21:38 -07:00
sta Staging: drop redundant memset 2010-05-11 11:35:34 -07:00
ap.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
chlist.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
crypt_hmac.h Staging: rt28x0: remove typedefs (part one) 2009-12-11 12:23:15 -08:00
crypt_md5.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
crypt_sha2.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
dfs.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
eeprom.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
Kconfig Staging: rt{2860,2870}sta: Use request_firmware() to load firmware 2010-03-03 16:42:48 -08:00
Makefile Staging: rt28x0: remove optional cmm profile parameters 2009-12-11 12:23:12 -08:00
mlme.h staging: trivial: fix typo "seperate" 2010-05-14 13:16:10 -07:00
oid.h Staging: rt2860: reduce superfluous exclamation marks 2009-12-11 12:23:19 -08:00
pci_main_dev.c Staging: rt2860: fixed coding-style issues in pci_main_dev.c 2010-05-11 11:35:34 -07:00
rt_config.h Staging: rt28x0: fix comments in *.h files 2009-12-11 12:23:15 -08:00
rt_linux.c Staging: Drop memory allocation cast 2010-05-11 16:06:48 -07:00
rt_linux.h Staging: rt28xx: Make PCI_{MAP,UNMAP}_SINGLE type-safe 2010-05-11 11:35:42 -07:00
rt_main_dev.c Staging: rt2860: fix coding style issue in rt_main_dev.c 2010-05-11 11:35:42 -07:00
rt_pci_rbus.c Staging: rt2860: fix coding style issue in rt_pci_rbus.c 2010-05-11 11:35:42 -07:00
rt_usb.c Staging: rt2860: fix coding style issue in rt_usb.c 2010-05-11 11:35:42 -07:00
rtmp_chip.h Staging: rt2860: reduce superfluous exclamation marks 2009-12-11 12:23:19 -08:00
rtmp_ckipmic.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
rtmp_def.h Staging: rt2860: reduce superfluous exclamation marks 2009-12-11 12:23:19 -08:00
rtmp_dot11.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
rtmp_iface.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
rtmp_mcu.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
rtmp_os.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
rtmp_timer.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
rtmp_type.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
rtmp.h staging: rt2860: use new hex_to_bin() method 2010-05-25 08:07:05 -07:00
rtusb_io.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
spectrum_def.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
spectrum.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00
sta_ioctl.c Staging: rc2860: return -EFAULT on copy_to_user errors 2010-06-04 13:38:58 -07:00
TODO Staging: rt2860: remove remainders of /etc reading stuff 2009-12-11 12:23:16 -08:00
usb_main_dev.c Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
wpa.h Staging: rt28x0: remove typedefs (part three) 2009-12-11 12:23:16 -08:00