summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/rsv.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-09-25 10:05:33 +0300
committerOhad Ben-Cohen <ohad@wizery.com>2012-09-30 11:44:53 +0200
commitbec109a430e8c67bae1743f7e71898283234a77f (patch)
tree181eb8689c59f3fa6a63f28468591fceb93a68c9 /drivers/uwb/rsv.c
parentae768d5fac18cd4b3ff51a4860b89fabba8ccc65 (diff)
downloadop-kernel-dev-bec109a430e8c67bae1743f7e71898283234a77f.zip
op-kernel-dev-bec109a430e8c67bae1743f7e71898283234a77f.tar.gz
remoteproc: return -EFAULT on copy_from_user failure
copy_from_user() returns the number of bytes remaining to be copied, but we want to return an error code here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/uwb/rsv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud