LWIS: Return the appropriate error code.
Return values of copy_to/from_user() is the number of bytes not copied. Currently we are using them as return error code. Instead, we should return -EFAULT if it's non-zero. Bug: 183543066 Test: manual camera app test, CTS. Change-Id: Ic731fa847866b526d407be0c6e7cae61e9f5cc52
Loading
Please sign in to comment