git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98cb27
)
Staging: intel_sst: return -EFAULT if copy_to_user() fails
author
Dan Carpenter
<error27@gmail.com>
Fri, 15 Oct 2010 03:44:07 +0000
(
05:44
+0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 15 Oct 2010 22:41:36 +0000
(15:41 -0700)
copy_to_user() returns the number of bytes remaining to be copied but we
want to return an error code. And that error code is -EFAULT not -EIO.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found