2d98bb22c3
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> |
||
---|---|---|
.. | ||
chip | ||
chips | ||
common | ||
iface | ||
sta | ||
ap.h | ||
chlist.h | ||
crypt_hmac.h | ||
crypt_md5.h | ||
crypt_sha2.h | ||
dfs.h | ||
eeprom.h | ||
Kconfig | ||
Makefile | ||
mlme.h | ||
oid.h | ||
pci_main_dev.c | ||
rt_config.h | ||
rt_linux.c | ||
rt_linux.h | ||
rt_main_dev.c | ||
rt_pci_rbus.c | ||
rt_usb.c | ||
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 | ||
rtmp.h | ||
rtusb_io.h | ||
spectrum_def.h | ||
spectrum.h | ||
sta_ioctl.c | ||
TODO | ||
usb_main_dev.c | ||
wpa.h |