diff options
author | 2010-06-04 12:38:40 +0200 | |
---|---|---|
committer | 2010-06-04 13:38:58 -0700 | |
commit | 640f7dcfe047aa5859df5f5d41e7f6455a442b89 (patch) | |
tree | abfef4749d8b51e770862d87b6ea7efd14ed5dfe /drivers/acpi/debug.c | |
parent | Staging: rc2860: return -EFAULT on copy_to_user errors (diff) | |
download | linux-dev-640f7dcfe047aa5859df5f5d41e7f6455a442b89.tar.xz linux-dev-640f7dcfe047aa5859df5f5d41e7f6455a442b89.zip |
Staging: sep: 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 here. These functions are used in the
ioctl handler and the error code gets returned to userspace.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acpi/debug.c')
0 files changed, 0 insertions, 0 deletions