diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-09-20 02:56:23 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-09-20 03:00:26 +0400 |
commit | 35b1da4e1e1026b5195649170dfb9ebb52f808e0 (patch) | |
tree | fe750def61a997737f1ed5f8d58b6835f05b0dc6 /drivers/usb/host/xhci-plat.c | |
parent | 30ebb7fa0e3e92145b859ad6e44aa6dc636b4103 (diff) | |
download | linux-35b1da4e1e1026b5195649170dfb9ebb52f808e0.tar.xz |
Input: edt-ft5x06 - return -EFAULT on copy_to_user() error
copy_to_user() returns the number of bytes remaining, but we want a
negative error code here.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb/host/xhci-plat.c')
0 files changed, 0 insertions, 0 deletions