Skip to content
Commit 0b7f1cc7 authored by Axel Lin's avatar Axel Lin Committed by Paul Mundt
Browse files

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 6c9571f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment