diff options
author | axel lin <axel.lin@gmail.com> | 2011-01-14 10:39:11 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-18 05:40:34 +0100 |
commit | 0b7f1cc79d61427961e311c6a21f528bdb226e40 (patch) | |
tree | 773b512ff69f55966af6ba0cc69bd82d85723b64 /drivers/video/da8xx-fb.c | |
parent | video: nuc900fb: properly free resources in nuc900fb_remove (diff) | |
download | linux-0b7f1cc79d61427961e311c6a21f528bdb226e40.tar.xz linux-0b7f1cc79d61427961e311c6a21f528bdb226e40.zip |
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