diff options
author | 2010-06-06 21:03:04 +0200 | |
---|---|---|
committer | 2010-06-30 08:18:14 -0700 | |
commit | 25477f2398f39a35f110e02f6c7d8dd1023c47c1 (patch) | |
tree | ad312a0b0e687624d72cc035ae09c265fa8c4072 /drivers/acpi/debug.c | |
parent | staging: usbip: usbip_common: kill rx thread on tx thread creation error. (diff) | |
download | linux-dev-25477f2398f39a35f110e02f6c7d8dd1023c47c1.tar.xz linux-dev-25477f2398f39a35f110e02f6c7d8dd1023c47c1.zip |
Staging: batman-adv: return -EFAULT on copy_to_user errors
copy_to_user() returns the number of bites remaining but we want to
return a negative error code here.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acpi/debug.c')
0 files changed, 0 insertions, 0 deletions