diff options
author | axel lin <axel.lin@gmail.com> | 2011-01-14 09:39:11 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-18 04:40:34 (GMT) |
commit | 0b7f1cc79d61427961e311c6a21f528bdb226e40 (patch) | |
tree | 773b512ff69f55966af6ba0cc69bd82d85723b64 /drivers/video/da8xx-fb.c | |
parent | 6c9571f4b759717e1c938cbc6b53ec8ce5813245 (diff) | |
download | linux-0b7f1cc79d61427961e311c6a21f528bdb226e40.tar.xz |
video: pxa3xx-gcu: Return -EFAULT when copy_from_user() fails
Return -EFAULT instead of number of bytes that could not be copied if
copy_from_user() fails.
Also fix a typo in the comments.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/da8xx-fb.c')
0 files changed, 0 insertions, 0 deletions