diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-06-18 09:05:29 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-06-26 15:03:36 +0200 |
commit | 2c30aba2b2894ceb2108f1cb2602015b121e9a81 (patch) | |
tree | 0972bcf333d5c4273167fe2b8d1f31fdb74adebb /include/video | |
parent | OMAPDSS: DPI: Fix wrong pixel clock limit (diff) | |
download | linux-2c30aba2b2894ceb2108f1cb2602015b121e9a81.tar.xz linux-2c30aba2b2894ceb2108f1cb2602015b121e9a81.zip |
fbmem: return -EFAULT on copy_to_user() failure
copy_to_user() returns the number of bytes remaining to be copied.
put_user() returns -EFAULT on error.
This function ORs a bunch of stuff together and returns jumbled non-zero
values on error. It should return -EFAULT.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions