Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
chlist.h
crypt_hmac.h
crypt_md5.h
crypt_sha2.h
dfs.h
eeprom.h
Kconfig
Makefile
mlme.h staging: trivial: fix typo "seperate" 2010-05-14 13:16:10 -07:00
oid.h
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
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.h staging: rt2860: use new hex_to_bin() method 2010-05-25 08:07:05 -07:00
rtmp_chip.h
rtmp_ckipmic.h
rtmp_def.h
rtmp_dot11.h
rtmp_iface.h
rtmp_mcu.h
rtmp_os.h
rtmp_timer.h
rtmp_type.h
rtusb_io.h
spectrum.h
spectrum_def.h
sta_ioctl.c Staging: rc2860: return -EFAULT on copy_to_user errors 2010-06-04 13:38:58 -07:00
TODO
usb_main_dev.c Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
wpa.h